Removed all compiler optimizations from the crosscompiled MinGW32
binaries, so we're not chasing our tails with compiler bugs. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3367 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e197253558
commit
8b086016f4
|
@ -242,13 +242,23 @@ JOINT_CFLAGS=
|
||||||
DEBUG_CFLAGS=-ggdb -g
|
DEBUG_CFLAGS=-ggdb -g
|
||||||
|
|
||||||
ifeq ($(FTE_TARGET),win32)
|
ifeq ($(FTE_TARGET),win32)
|
||||||
RELEASE_CFLAGS=-fno-strict-aliasing -ffast-math -fexpensive-optimizations $(CPUOPTIMIZATIONS)
|
# Let's make sure we're not chasing our tails with MinGW32 compiler bugs
|
||||||
|
#RELEASE_CFLAGS=-fno-strict-aliasing -ffast-math -fexpensive-optimizations $(CPUOPTIMIZATIONS)
|
||||||
|
RELEASE_CFLAGS=$(CPUOPTIMIZATIONS)
|
||||||
endif
|
endif
|
||||||
ifeq ($(FTE_TARGET),win32_SDL)
|
ifeq ($(FTE_TARGET),win32_SDL)
|
||||||
RELEASE_CFLAGS=-fno-strict-aliasing -ffast-math -fexpensive-optimizations $(CPUOPTIMIZATIONS) -D_SDL
|
# Let's make sure we're not chasing our tails with MinGW32 compiler bugs
|
||||||
|
#RELEASE_CFLAGS=-fno-strict-aliasing -ffast-math -fexpensive-optimizations $(CPUOPTIMIZATIONS) -D_SDL
|
||||||
|
RELEASE_CFLAGS=$(CPUOPTIMIZATIONS) -D_SDL
|
||||||
|
endif
|
||||||
|
|
||||||
|
# Make sure the Win32 targets don't get these added on
|
||||||
|
ifneq ($(FTE_TARGET),win32)
|
||||||
|
ifneq ($(FTE_TARGET),win32_SDL)
|
||||||
|
RELEASE_CFLAGS ?= -O2 -fno-strict-aliasing $(CPUOPTIMIZATIONS)
|
||||||
|
#RELEASE_CFLAGS=-O6 -fno-strict-aliasing -ffast-math -funroll-loops -fexpensive-optimizations $(CPUOPTIMIZATIONS)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
RELEASE_CFLAGS ?= -O2 -fno-strict-aliasing $(CPUOPTIMIZATIONS)
|
|
||||||
#RELEASE_CFLAGS=-O6 -fno-strict-aliasing -ffast-math -funroll-loops -fexpensive-optimizations $(CPUOPTIMIZATIONS)
|
|
||||||
|
|
||||||
GLCFLAGS=-DGLQUAKE
|
GLCFLAGS=-DGLQUAKE
|
||||||
D3DCFLAGS=-DD3DQUAKE
|
D3DCFLAGS=-DD3DQUAKE
|
||||||
|
|
Loading…
Reference in New Issue