mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-29 23:32:23 +00:00
clang gets upset by some of these compiler options (and they're probably pretty pointless in 2015 anyway)
This commit is contained in:
parent
a0d2e851cd
commit
92b74e58cc
1 changed files with 9 additions and 15 deletions
24
Makefile
24
Makefile
|
@ -336,18 +336,16 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
||||||
-pipe -DUSE_ICON
|
-pipe -DUSE_ICON
|
||||||
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
||||||
|
|
||||||
OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
|
OPTIMIZEVM = -O3
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
OPTIMIZEVM = -O3 -fomit-frame-pointer -funroll-loops \
|
OPTIMIZEVM = -O3
|
||||||
-falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED = true
|
HAVE_VM_COMPILED = true
|
||||||
else
|
else
|
||||||
ifeq ($(ARCH),x86)
|
ifeq ($(ARCH),x86)
|
||||||
OPTIMIZEVM = -O3 -march=i586 -fomit-frame-pointer \
|
OPTIMIZEVM = -O3 -march=i586
|
||||||
-funroll-loops -falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED=true
|
HAVE_VM_COMPILED=true
|
||||||
else
|
else
|
||||||
|
@ -566,14 +564,12 @@ ifeq ($(PLATFORM),mingw32)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
OPTIMIZEVM = -O3 -fno-omit-frame-pointer \
|
OPTIMIZEVM = -O3
|
||||||
-funroll-loops -falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED = true
|
HAVE_VM_COMPILED = true
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),x86)
|
ifeq ($(ARCH),x86)
|
||||||
OPTIMIZEVM = -O3 -march=i586 -fno-omit-frame-pointer \
|
OPTIMIZEVM = -O3 -march=i586
|
||||||
-funroll-loops -falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED = true
|
HAVE_VM_COMPILED = true
|
||||||
endif
|
endif
|
||||||
|
@ -671,7 +667,7 @@ ifeq ($(PLATFORM),freebsd)
|
||||||
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
||||||
HAVE_VM_COMPILED = true
|
HAVE_VM_COMPILED = true
|
||||||
|
|
||||||
OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
|
OPTIMIZEVM = -O3
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
|
|
||||||
SHLIBEXT=so
|
SHLIBEXT=so
|
||||||
|
@ -724,18 +720,16 @@ ifeq ($(PLATFORM),openbsd)
|
||||||
-pipe -DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
|
-pipe -DUSE_ICON -DMAP_ANONYMOUS=MAP_ANON
|
||||||
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
CLIENT_CFLAGS += $(SDL_CFLAGS)
|
||||||
|
|
||||||
OPTIMIZEVM = -O3 -funroll-loops -fomit-frame-pointer
|
OPTIMIZEVM = -O3
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
OPTIMIZEVM = -O3 -fomit-frame-pointer -funroll-loops \
|
OPTIMIZEVM = -O3
|
||||||
-falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED = true
|
HAVE_VM_COMPILED = true
|
||||||
else
|
else
|
||||||
ifeq ($(ARCH),x86)
|
ifeq ($(ARCH),x86)
|
||||||
OPTIMIZEVM = -O3 -march=i586 -fomit-frame-pointer \
|
OPTIMIZEVM = -O3 -march=i586
|
||||||
-funroll-loops -falign-functions=2 -fstrength-reduce
|
|
||||||
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
OPTIMIZE = $(OPTIMIZEVM) -ffast-math
|
||||||
HAVE_VM_COMPILED=true
|
HAVE_VM_COMPILED=true
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue