diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2018-11-07 19:51:10 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-11-07 20:02:57 +0100 |
commit | 3fd28b4c54d884efa6efdd7a07b2e14ece5c3b88 (patch) | |
tree | 4a3c345bea99024648c38b3a1b513688c30148ad | |
parent | 7f5ccdee1f8a990e1cd675bd1a7ab4673e797f46 (diff) | |
download | mupdf-3fd28b4c54d884efa6efdd7a07b2e14ece5c3b88.tar.xz |
Don't remove unused functions in debug builds.
Garbage collecting unused functions in debug mode meant that
pdf_debug_obj() was not longer accessible in gdb, which defeats
the purpose of this debug function.
-rw-r--r-- | Makerules | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ SANITIZE_FLAGS += -fsanitize=leak ifeq ($(build),debug) CFLAGS += -pipe -g - LDFLAGS += -g $(LDREMOVEUNREACH) + LDFLAGS += -g else ifeq ($(build),release) CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer LDFLAGS += $(LDREMOVEUNREACH) -Wl,-s |