Skip to content

Commit

Permalink
* In hindsight this is probably wise too
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Oct 29, 2005
1 parent ffdc69f commit b72f59f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/unix/Makefile
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b72f59f

Please sign in to comment.