r432 - in trunk/code: client unix
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Dec 6 14:03:39 EST 2005
Author: tma
Date: 2005-12-06 14:03:39 -0500 (Tue, 06 Dec 2005)
New Revision: 432
Modified:
trunk/code/client/qal.c
trunk/code/unix/Makefile
Log:
* Solaris patch from Vincent S. Cojot
Modified: trunk/code/client/qal.c
===================================================================
--- trunk/code/client/qal.c 2005-12-06 18:17:10 UTC (rev 431)
+++ trunk/code/client/qal.c 2005-12-06 19:03:39 UTC (rev 432)
@@ -44,7 +44,7 @@
#define SYMLOAD(x,y) GetProcAddress(x,y)
#define OBJFREE(x) FreeLibrary(x)
-#elif defined __linux__ || defined __FreeBSD__ || defined MACOS_X
+#elif defined __linux__ || defined __FreeBSD__ || defined MACOS_X || defined __sun
#include <dlfcn.h>
#define OBJTYPE void *
#define OBJLOAD(x) dlopen(x, RTLD_LAZY | RTLD_GLOBAL)
Modified: trunk/code/unix/Makefile
===================================================================
--- trunk/code/unix/Makefile 2005-12-06 18:17:10 UTC (rev 431)
+++ trunk/code/unix/Makefile 2005-12-06 19:03:39 UTC (rev 432)
@@ -524,7 +524,7 @@
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 @@
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 @@
$(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 @@
$(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
More information about the quake3-commits
mailing list