fixed explicit BACKTRACE order
and automatic linux backtrace detection : __GLIBC__ must be tested after #include <features.h>
This commit is contained in:
+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