From b72f59f52499ee02f25e6001bf74ed38d79d9655 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 29 Oct 2005 01:02:12 +0000 Subject: [PATCH] * In hindsight this is probably wise too --- code/unix/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/unix/Makefile b/code/unix/Makefile index 60b857a5..1b3a21de 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