diff options
author | Haru <haru@dotalux.com> | 2019-12-15 18:04:50 +0100 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-03-30 06:35:10 +0300 |
commit | 8578597b71e94cbd599eb211665b1f6a2dbc2bb0 (patch) | |
tree | 8fdad8cc7a8f9a46c0afbef0cd0a5374e78fe88b /src/test | |
parent | 960d13887d7e1e4d14ae68d72163d639590673b5 (diff) | |
download | hercules-8578597b71e94cbd599eb211665b1f6a2dbc2bb0.tar.gz hercules-8578597b71e94cbd599eb211665b1f6a2dbc2bb0.tar.bz2 hercules-8578597b71e94cbd599eb211665b1f6a2dbc2bb0.tar.xz hercules-8578597b71e94cbd599eb211665b1f6a2dbc2bb0.zip |
Disable libbacktrace by default
It's currently only tested on linux, and doesn't work yet on macOS (tested on 10.15). Further work is necessary
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/Makefile.in | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/test/Makefile.in b/src/test/Makefile.in index 967d7dcfc..91263c939 100644 --- a/src/test/Makefile.in +++ b/src/test/Makefile.in @@ -36,12 +36,18 @@ LIBCONFIG_OBJ = $(addprefix $(LIBCONFIG_D)/, libconfig.o grammar.o scanctx.o \ LIBCONFIG_H = $(addprefix $(LIBCONFIG_D)/, libconfig.h grammar.h parsectx.h \ scanctx.h scanner.h strbuf.h wincompat.h) -LIBBACKTRACE_D = $(THIRDPARTY_D)/libbacktrace -LIBBACKTRACE_OBJ = $(addprefix $(LIBBACKTRACE_D)/, atomic.o backtrace.o \ - dwarf.o @LIBBACKTRACE_FORMAT_FILE@ fileline.o mmapio.o mmap.o posix.o print.o \ - simple.o sort.o state.o) -LIBBACKTRACE_H = $(addprefix $(LIBBACKTRACE_D)/, backtrace.h \ - backtrace-supported.h config.h filenames.h internal.h) +ifeq (@USE_LIBBACKTRACE@,yes) + LIBBACKTRACE_D = $(THIRDPARTY_D)/libbacktrace + LIBBACKTRACE_OBJ = $(addprefix $(LIBBACKTRACE_D)/, atomic.o backtrace.o \ + dwarf.o @LIBBACKTRACE_FORMAT_FILE@ fileline.o mmapio.o mmap.o posix.o print.o \ + simple.o sort.o state.o) + LIBBACKTRACE_H = $(addprefix $(LIBBACKTRACE_D)/, backtrace.h \ + backtrace-supported.h config.h filenames.h internal.h) +else + LIBBACKTRACE_D = + LIBBACKTRACE_OBJ = + LIBBACKTRACE_H = +endif MT19937AR_D = $(THIRDPARTY_D)/mt19937ar MT19937AR_OBJ = $(MT19937AR_D)/mt19937ar.o |