diff options
author | Krzysztof Kowalczyk <kkowalczyk@gmail.com> | 2008-03-27 09:42:46 +0100 |
---|---|---|
committer | Krzysztof Kowalczyk <kkowalczyk@gmail.com> | 2008-03-27 09:42:46 +0100 |
commit | 1f666a225b3cb4644e2959247b8630fa306a4d11 (patch) | |
tree | ff2e485ed0864606c68df738ebc79ca87eeac75b | |
parent | 63ba9f9bc0f989a5f801372bc4394aeac450af86 (diff) | |
download | mupdf-1f666a225b3cb4644e2959247b8630fa306a4d11.tar.xz |
Define DEBUG for debug builds and NDEBUG for release builds.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,9 +35,9 @@ CFLAGS += -g -Wall CFLAGS += $(call cc-option, -Wno-pointer-sign, "") ifeq ($(CFG),dbg) -CFLAGS += -O0 ${INCS} +CFLAGS += -O0 ${INCS} -DDEBUG else -CFLAGS += -O2 ${INCS} +CFLAGS += -O2 ${INCS} -DNDEBUG endif ifeq ($(HOST),$(HOST_LINUX)) |