diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-06 19:03:39 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-12-06 19:03:39 +0000 |
commit | e9c18bd3ae7f4a976f7cb6d9673419cfb0cdc469 (patch) | |
tree | 24091077852df88f3f342b8132e6b577acf2696a /code/unix/Makefile | |
parent | dd4b80f1158f8adae8a7f59aca8c2986d5bc7a3d (diff) | |
download | ioquake3-aero-e9c18bd3ae7f4a976f7cb6d9673419cfb0cdc469.tar.gz ioquake3-aero-e9c18bd3ae7f4a976f7cb6d9673419cfb0cdc469.zip |
* Solaris patch from Vincent S. Cojot
git-svn-id: svn://svn.icculus.org/quake3/trunk@432 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix/Makefile')
-rw-r--r-- | code/unix/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index 5093432..eeab30e 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -524,7 +524,7 @@ ifeq ($(PLATFORM),SunOS) endif - BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes + BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe ifeq ($(USE_SDL),1) BASE_CFLAGS += -DUSE_SDL_SOUND=1 $(shell sdl-config --cflags) @@ -533,22 +533,23 @@ ifeq ($(PLATFORM),SunOS) GL_CFLAGS = -I/usr/openwin/include endif - OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer + OPTIMIZE = -O3 -ffast-math -funroll-loops ifeq ($(ARCH),sparc) - OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 \ + OPTIMIZE = -O0 -ffast-math -falign-loops=2 \ -falign-jumps=2 -falign-functions=2 -fstrength-reduce \ + -mtune=ultrasparc -mv8plus -munaligned-doubles \ -funroll-loops BASE_CFLAGS += -DNO_VM_COMPILED else ifeq ($(ARCH),i386) - OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math \ + OPTIMIZE = -O3 -march=i686 -ffast-math \ -falign-loops=2 -falign-jumps=2 -falign-functions=2 \ -funroll-loops -fstrength-reduce endif endif - DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 + DEBUG_CFLAGS = $(BASE_CFLAGS) -ggdb -O0 RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE) @@ -586,8 +587,8 @@ ifeq ($(PLATFORM),SunOS) $(B)/baseq3/vm/ui.qvm \ $(B)/missionpack/vm/qagame.qvm \ $(B)/missionpack/vm/cgame.qvm \ - $(B)/missionpack/vm/ui.qvm -# $(B)/$(PLATFORM)quake3-smp + $(B)/missionpack/vm/ui.qvm \ + $(B)/$(PLATFORM)quake3-smp else TARGETS=\ $(B)/$(PLATFORM)quake3 \ @@ -603,8 +604,8 @@ ifeq ($(PLATFORM),SunOS) $(B)/baseq3/vm/ui.qvm \ $(B)/missionpack/vm/qagame.qvm \ $(B)/missionpack/vm/cgame.qvm \ - $(B)/missionpack/vm/ui.qvm -# $(B)/$(PLATFORM)quake3-smp + $(B)/missionpack/vm/ui.qvm \ + $(B)/$(PLATFORM)quake3-smp endif |