aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/darwin_app/Makefile2
-rwxr-xr-xpackages/linux_make/Makefile2
-rwxr-xr-xpackages/win32_inno/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/packages/darwin_app/Makefile b/packages/darwin_app/Makefile
index 22392ace..a05b7e99 100644
--- a/packages/darwin_app/Makefile
+++ b/packages/darwin_app/Makefile
@@ -27,7 +27,7 @@ WISH_CONTENTS = "$(WISH)/Contents"
#STRIP = strip -x
STRIP = echo
-DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE
+DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE -Wstrict-aliasing=2
# CPU-specific gleaned from:
# http://developer.apple.com/releasenotes/DeveloperTools/RN-GCC4/
diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile
index 80b06617..696c0e5e 100755
--- a/packages/linux_make/Makefile
+++ b/packages/linux_make/Makefile
@@ -32,7 +32,7 @@ endif
#STRIP = strip --strip-unneeded -R .note -R .comment
STRIP = echo
-DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE
+DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE -Wstrict-aliasing=2
OPT_CFLAGS =
TARGET_PLATFORM := $(shell uname -m)
diff --git a/packages/win32_inno/Makefile b/packages/win32_inno/Makefile
index ffd724c3..3a4b132e 100755
--- a/packages/win32_inno/Makefile
+++ b/packages/win32_inno/Makefile
@@ -17,7 +17,7 @@ include $(BUILDLAYOUT_DIR)/Makefile.buildlayout
#STRIP = strip --strip-unneeded -R .note -R .comment
STRIP = echo
-DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE
+DEBUG_CFLAGS = -g -fno-inline-functions -fno-omit-frame-pointer -DDEBUG_SOUNDFILE -Wstrict-aliasing=2
OPT_CFLAGS =
# compile for pentium4 so we can use SSE2