summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-20 22:15:03 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-20 22:15:03 +0100
commitc0b8c3cb43cd5cb834950f1377a304184945be7e (patch)
tree696061fa1d37d81d5a941681ec3eeb8cc1f2b299
parentAggressive debug mode cByteBuffer validity checking. (diff)
downloadcuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar.gz
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar.bz2
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar.lz
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar.xz
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.tar.zst
cuberite-c0b8c3cb43cd5cb834950f1377a304184945be7e.zip
Diffstat (limited to '')
-rw-r--r--GNUmakefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 335b5a6fd..43e0332ce 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -39,8 +39,8 @@ ifeq ($(release),1)
################
# release build - fastest run-time, no gdb support
################
-CC_OPTIONS = -s -O3 -DNDEBUG
-CXX_OPTIONS = -s -O3 -DNDEBUG
+CC_OPTIONS = -s -g -O3 -DNDEBUG
+CXX_OPTIONS = -s -g -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 -DNDEBUG
-CXX_OPTIONS = -s -ggdb -O3 -pg -DNDEBUG
+CC_OPTIONS = -s -g -ggdb -O3 -pg -DNDEBUG
+CXX_OPTIONS = -s -g -ggdb -O3 -pg -DNDEBUG
LNK_OPTIONS = -lstdc++ -pthread -ggdb -O3 -pg
BUILDDIR = build/profile/
@@ -59,8 +59,8 @@ ifeq ($(pedantic),1)
################
# pedantic build - basically a debug build with lots of warnings
################
-CC_OPTIONS = -s -ggdb -D_DEBUG -Wall -Wextra -pedantic -ansi -Wno-long-long
-CXX_OPTIONS = -s -ggdb -D_DEBUG -Wall -Wextra -pedantic -ansi -Wno-long-long
+CC_OPTIONS = -s -g -ggdb -D_DEBUG -Wall -Wextra -pedantic -ansi -Wno-long-long
+CXX_OPTIONS = -s -g -ggdb -D_DEBUG -Wall -Wextra -pedantic -ansi -Wno-long-long
LNK_OPTIONS = -lstdc++ -pthread -ggdb
BUILDDIR = build/pedantic/