Skip to content

Commit

Permalink
use -fno-strict-aliasing again. code is just not ready yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
lnussel committed Nov 12, 2008
1 parent 72dea0a commit 057e7ed
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Expand Up @@ -237,7 +237,7 @@ ifeq ($(PLATFORM),linux)
endif
endif

BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-pipe -DUSE_ICON $(shell sdl-config --cflags)

ifeq ($(USE_OPENAL),1)
Expand Down Expand Up @@ -360,7 +360,7 @@ ifeq ($(PLATFORM),darwin)
BASE_CFLAGS += -mstackrealign
endif

BASE_CFLAGS += -DMACOS_X -fno-common -pipe
BASE_CFLAGS += -fno-strict-aliasing -DMACOS_X -fno-common -pipe

ifeq ($(USE_OPENAL),1)
BASE_CFLAGS += -DUSE_OPENAL
Expand Down Expand Up @@ -431,7 +431,7 @@ ifeq ($(PLATFORM),mingw32)

ARCH=x86

BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON

# In the absence of wspiapi.h, require Windows XP or later
Expand Down Expand Up @@ -524,7 +524,7 @@ ifeq ($(PLATFORM),freebsd)
endif #alpha test


BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON $(shell sdl-config --cflags)

ifeq ($(USE_OPENAL),1)
Expand Down Expand Up @@ -590,7 +590,7 @@ ifeq ($(PLATFORM),openbsd)
ARCH=i386


BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON $(shell sdl-config --cflags)

ifeq ($(USE_OPENAL),1)
Expand Down Expand Up @@ -652,7 +652,7 @@ ifeq ($(PLATFORM),netbsd)
SHLIBLDFLAGS=-shared $(LDFLAGS)
THREAD_LIBS=-lpthread

BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes

ifneq ($(ARCH),i386)
BASE_CFLAGS += -DNO_VM_COMPILED
Expand Down Expand Up @@ -716,7 +716,7 @@ ifeq ($(PLATFORM),sunos)
endif


BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-pipe -DUSE_ICON $(shell sdl-config --cflags)

OPTIMIZE = -O3 -ffast-math -funroll-loops
Expand Down Expand Up @@ -1028,7 +1028,7 @@ makedirs:
# QVM BUILD TOOLS
#############################################################################

TOOLS_OPTIMIZE = -g -O2 -Wall
TOOLS_OPTIMIZE = -g -O2 -Wall -fno-strict-aliasing
TOOLS_CFLAGS = $(TOOLS_OPTIMIZE) \
-DTEMPDIR=\"$(TEMPDIR)\" -DSYSTEM=\"\" \
-I$(Q3LCCSRCDIR) \
Expand Down

0 comments on commit 057e7ed

Please sign in to comment.