summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 46a9e3b..1c992d3 100644
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,11 @@ LIB_SUFFIX=`if test \`uname -m\` = x86_64 -o \`uname -m\` = ppc64; then echo 64;
# -CR and -Cr must be disabled here, causes range check errors with gnome-power-manager
# -Cg generates internal compiler errors on i386
# -XX prevents linking errors of unresolved and unused symbols
+# -gc doesn't play nice with threads
# "-k-z noexecstack" (with quotes as a single parameter) avoids marking stack as executable, allowing to work correctly with SELinux in Enforcing mode
-CFLAGS= -vewnhib -Sch -Un -Ci -Co -XX "-k-z noexecstack"
-EXTRA_CFLAGS= -O3
+# CFLAGS= -vewnhib -Sch -Un -Ci -Co -XX "-k-z noexecstack"
+CFLAGS= -vewnhib -Sch -Ci -Co -CO -Cr -CR
+# EXTRA_CFLAGS= -O3
tuxcmd::
@@ -53,7 +55,7 @@ tuxcmd::
tuxcmd.dpr
-debug: EXTRA_CFLAGS = -g -gl -gv -O-
+debug: EXTRA_CFLAGS = -g -gt -gl -gw3 -gv -O-
debug: tuxcmd
final_debug: EXTRA_CFLAGS = -g -gl -gv -O3