fixed explicit BACKTRACE order
and automatic linux backtrace detection : __GLIBC__ must be tested after #include <features.h>
This commit is contained in:
1 parent
1e0c5466c5
commit
e0ab6b61b7
2 files changed
+13
-11
No files matched your search
+4
-2
@@ -134,8 +134,10 @@ else
|
||||
LZ4_MSG := $(NO_LZ4_MSG)
|
||||
endif
|
||||
|
||||
# enable backtrace symbol names for Linux & Darwin
|
||||
BACKTRACE ?= 0
|
||||
# explicit backtrace enable/disable for Linux & Darwin
|
||||
ifeq ($(BACKTRACE), 0)
|
||||
DEBUGFLAGS += -DBACKTRACE_ENABLE=0
|
||||
endif
|
||||
ifeq (,$(filter Windows%, $(OS)))
|
||||
ifeq ($(BACKTRACE), 1)
|
||||
DEBUGFLAGS += -DBACKTRACE_ENABLE=1
|
||||
|
||||
Reference in new issue
Block a user