Skip to content

Commit

Permalink
Define NDEBUG for Release build
Browse files Browse the repository at this point in the history
  • Loading branch information
LancePutnam committed Apr 23, 2017
1 parent 03817d5 commit bfe047c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.common
Expand Up @@ -280,6 +280,7 @@ endif

# Append optimization flags
ifeq ($(BUILD_CONFIG), Release)
CPPFLAGS += -DNDEBUG
CFLAGS += -O3
#CFLAGS += -fpeel-loops # not supported by clang
else
Expand Down

0 comments on commit bfe047c

Please sign in to comment.