Skip to content

Commit

Permalink
Lowers the debugging level for compatibility with newer versions of LLVM
Browse files Browse the repository at this point in the history
(cherry picked from commit 808df4e)
  • Loading branch information
apaillier-ledger committed Jan 22, 2025
1 parent 0d6a579 commit 67b630e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.defines
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ CFLAGS += --sysroot="$(SYSROOT)"
# optimization and debugging levels
ifneq ($(DEBUG),0)
OPTI_LVL = g
DBG_LVL = 3
# any higher won't work with LLVM >= 14
# will be fixed in LLVM 20 : https://github.com/llvm/llvm-project/pull/116956
DBG_LVL = 1
else
OPTI_LVL = z
DBG_LVL = 0
Expand Down

0 comments on commit 67b630e

Please sign in to comment.