parent
f86f8e8ed8
commit
c754d6fdfb
15 changed files with 91 additions and 108 deletions
16
Makefile
16
Makefile
|
@ -234,7 +234,7 @@ ifeq ($(PLATFORM),linux)
|
|||
endif
|
||||
endif
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
|
||||
-pipe -DUSE_ICON $(shell sdl-config --cflags)
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
|
@ -350,7 +350,7 @@ ifeq ($(PLATFORM),darwin)
|
|||
BASE_CFLAGS += -mstackrealign
|
||||
endif
|
||||
|
||||
BASE_CFLAGS += -fno-strict-aliasing -DMACOS_X -fno-common -pipe
|
||||
BASE_CFLAGS += -DMACOS_X -fno-common -pipe
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
BASE_CFLAGS += -DUSE_OPENAL
|
||||
|
@ -421,7 +421,7 @@ ifeq ($(PLATFORM),mingw32)
|
|||
|
||||
ARCH=x86
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
|
||||
-DUSE_ICON
|
||||
|
||||
# In the absence of wspiapi.h, require Windows XP or later
|
||||
|
@ -514,7 +514,7 @@ ifeq ($(PLATFORM),freebsd)
|
|||
endif #alpha test
|
||||
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
|
||||
-DUSE_ICON $(shell sdl-config --cflags)
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
|
@ -580,7 +580,7 @@ ifeq ($(PLATFORM),openbsd)
|
|||
ARCH=i386
|
||||
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
|
||||
-DUSE_ICON $(shell sdl-config --cflags)
|
||||
|
||||
ifeq ($(USE_OPENAL),1)
|
||||
|
@ -642,7 +642,7 @@ ifeq ($(PLATFORM),netbsd)
|
|||
SHLIBLDFLAGS=-shared $(LDFLAGS)
|
||||
THREAD_LIBS=-lpthread
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
|
||||
|
||||
ifneq ($(ARCH),i386)
|
||||
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||
|
@ -706,7 +706,7 @@ ifeq ($(PLATFORM),sunos)
|
|||
endif
|
||||
|
||||
|
||||
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
|
||||
BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes \
|
||||
-pipe -DUSE_ICON $(shell sdl-config --cflags)
|
||||
|
||||
OPTIMIZE = -O3 -ffast-math -funroll-loops
|
||||
|
@ -1018,7 +1018,7 @@ makedirs:
|
|||
# QVM BUILD TOOLS
|
||||
#############################################################################
|
||||
|
||||
TOOLS_OPTIMIZE = -g -O2 -Wall -fno-strict-aliasing
|
||||
TOOLS_OPTIMIZE = -g -O2 -Wall
|
||||
TOOLS_CFLAGS = $(TOOLS_OPTIMIZE) \
|
||||
-DTEMPDIR=\"$(TEMPDIR)\" -DSYSTEM=\"\" \
|
||||
-I$(Q3LCCSRCDIR) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue