From b379f35f4f09ef8241d109419238cbac6e036bbd Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 4 Sep 2012 15:29:45 +0000 Subject: Fixed preprocessor definitions in Linux git-svn-id: http://mc-server.googlecode.com/svn/trunk@831 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- GNUmakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 081513c24..3c0da26db 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -39,8 +39,8 @@ ifeq ($(release),1) ################ # release build - fastest run-time, no gdb support ################ -CC_OPTIONS = -s -O3 -CXX_OPTIONS = -s -O3 +CC_OPTIONS = -s -O3 -DNDEBUG +CXX_OPTIONS = -s -O3 -DNDEBUG LNK_OPTIONS = -lstdc++ -pthread -O3 BUILDDIR = build/release/ @@ -49,8 +49,8 @@ ifeq ($(profile),1) ################ # profile build - a release build with symbols and profiling engine built in ################ -CC_OPTIONS = -s -ggdb -O3 -pg -CXX_OPTIONS = -s -ggdb -O3 -pg +CC_OPTIONS = -s -ggdb -O3 -pg -DNDEBUG +CXX_OPTIONS = -s -ggdb -O3 -pg -DNDEBUG LNK_OPTIONS = -lstdc++ -pthread -ggdb -O3 -pg BUILDDIR = build/profile/ -- cgit v1.2.3