summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/opentyrian/files/20110517-cflag-idiocy.diff')
-rw-r--r--games-arcade/opentyrian/files/20110517-cflag-idiocy.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/games-arcade/opentyrian/files/20110517-cflag-idiocy.diff b/games-arcade/opentyrian/files/20110517-cflag-idiocy.diff
new file mode 100644
index 000000000000..fbc178ad3418
--- /dev/null
+++ b/games-arcade/opentyrian/files/20110517-cflag-idiocy.diff
@@ -0,0 +1,15 @@
+diff -uNr opentyrian.ORIG//Makefile opentyrian/Makefile
+--- opentyrian.ORIG//Makefile 2011-05-17 11:26:17.030004857 +0100
++++ opentyrian/Makefile 2011-05-17 11:28:48.617004931 +0100
+@@ -18,11 +18,6 @@
+
+ # FLAGS ####################################################
+
+-ifneq ($(MAKECMDGOALS), release)
+- EXTRA_CFLAGS += -g3 -O0 -Werror
+-else
+- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG
+-endif
+ EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers
+
+ HG_REV := $(shell hg id -ib && touch src/hg_revision.h)