mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 14:01:26 +00:00
* In hindsight this is probably wise too
This commit is contained in:
parent
ffdc69f138
commit
b72f59f524
1 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,8 @@ ifeq ($(PLATFORM),linux)
|
||||||
ifeq ($(VM_PPC),)
|
ifeq ($(VM_PPC),)
|
||||||
BASE_CFLAGS += -DNO_VM_COMPILED
|
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||||
endif
|
endif
|
||||||
|
else
|
||||||
|
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -276,11 +278,15 @@ ifeq ($(PLATFORM),freebsd)
|
||||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \
|
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \
|
||||||
-fomit-frame-pointer -fexpensive-optimizations
|
-fomit-frame-pointer -fexpensive-optimizations
|
||||||
else
|
else
|
||||||
|
ifeq ($(ARCH),i386)
|
||||||
CC=gcc
|
CC=gcc
|
||||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \
|
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \
|
||||||
-march=pentium -fomit-frame-pointer -pipe -ffast-math \
|
-march=pentium -fomit-frame-pointer -pipe -ffast-math \
|
||||||
-falign-loops=2 -falign-jumps=2 -falign-functions=2 \
|
-falign-loops=2 -falign-jumps=2 -falign-functions=2 \
|
||||||
-fno-strict-aliasing -fstrength-reduce
|
-fno-strict-aliasing -fstrength-reduce
|
||||||
|
else
|
||||||
|
BASE_CFLAGS += -DNO_VM_COMPILED
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SHLIBEXT=so
|
SHLIBEXT=so
|
||||||
|
|
Loading…
Reference in a new issue