aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-29 01:02:12 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-29 01:02:12 +0000
commit65b817698937b59af8cc1b268a06d7efe2fb4857 (patch)
tree392bb75c3297766f7b8e408f0f8b9a28904525d3 /code
parentcb4c62edf0edd59de1e98755557c46a61ecb6224 (diff)
downloadioquake3-aero-65b817698937b59af8cc1b268a06d7efe2fb4857.tar.gz
ioquake3-aero-65b817698937b59af8cc1b268a06d7efe2fb4857.zip
* In hindsight this is probably wise too
git-svn-id: svn://svn.icculus.org/quake3/trunk@195 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/unix/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 60b857a..1b3a21d 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -136,6 +136,8 @@ ifeq ($(PLATFORM),linux)
ifeq ($(VM_PPC),)
BASE_CFLAGS += -DNO_VM_COMPILED
endif
+ else
+ BASE_CFLAGS += -DNO_VM_COMPILED
endif
endif
endif
@@ -276,11 +278,15 @@ ifeq ($(PLATFORM),freebsd)
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
else
+ ifeq ($(ARCH),i386)
CC=gcc
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG -O3 -mtune=pentiumpro \
-march=pentium -fomit-frame-pointer -pipe -ffast-math \
-falign-loops=2 -falign-jumps=2 -falign-functions=2 \
-fno-strict-aliasing -fstrength-reduce
+ else
+ BASE_CFLAGS += -DNO_VM_COMPILED
+ endif
endif
SHLIBEXT=so