summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 17:29:45 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-04 17:29:45 +0200
commitb379f35f4f09ef8241d109419238cbac6e036bbd (patch)
tree8c31b9f88257ab9b3b812555e77374cf6b0df99e /GNUmakefile
parentFixed FS #243, server crash after restart. The blockhandler table and the itemhandler table weren't properly re-initialized. (diff)
downloadcuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar.gz
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar.bz2
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar.lz
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar.xz
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.tar.zst
cuberite-b379f35f4f09ef8241d109419238cbac6e036bbd.zip
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 4 insertions, 4 deletions
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/