ref: d793e0ac6e0ed29e1df56f1e96e0150bd3751da4
parent: 47e0efd74817d573f6e2c2cf215db1b535968624
author: darealshinji <[email protected]>
date: Sun May 3 05:04:04 EDT 2015
Build with -fno-strict-aliasing -fno-aggressive-loop-optimizations
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@
dnl Compiler flags
CFLAGS_WARNINGS="-Wall -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast \
-Wno-parentheses -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-result"
-CFLAGS="${CFLAGS_WARNINGS} -DPLATFORM_UNIX $(pkg-config --cflags SDL_mixer) ${CFLAGS}"
+CFLAGS="${CFLAGS_WARNINGS} -fno-strict-aliasing -fno-aggressive-loop-optimizations -DPLATFORM_UNIX $(pkg-config --cflags SDL_mixer) ${CFLAGS}"
LDFLAGS="$(pkg-config --libs sdl) $(pkg-config --libs SDL_mixer) ${LDFLAGS}"
# Checks for header files.