mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-22 16:33:17 +00:00
Added -DNDEBUG to disable the real ASSERT macro in production code (#67)
Co-authored-by: Tony Kuker <akuker@gmail.com>
This commit is contained in:
parent
d63b27f7d1
commit
3536e8aa02
@ -26,8 +26,8 @@ ifeq ($(DEBUG), 1)
|
||||
BUILD_TYPE = Debug
|
||||
else
|
||||
# Release CFLAGS
|
||||
CFLAGS += -O3 -Wall -Werror
|
||||
CXXFLAGS += -O3 -Wall -Werror
|
||||
CFLAGS += -O3 -Wall -Werror -DNDEBUG
|
||||
CXXFLAGS += -O3 -Wall -Werror -DNDEBUG
|
||||
BUILD_TYPE = Release
|
||||
endif
|
||||
CFLAGS += -iquote . -MD -MP
|
||||
|
Loading…
Reference in New Issue
Block a user