[PATCH] PPC update
Michel Dänzer
michdaen at iiic.ethz.ch
Mon Dec 31 13:42:39 EST 2001
sdlquake2 and all the built video drivers have been working great so
far. And the PPC build can take some optimizations. :)
About BASE_CFLAGS: I'm not sure if -Wall is wanted by default as it
produces quite some warnings, but the -pipe might help cutting down
compile times.
PS: I'm not subscribed to the list.
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/quake2/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 2001/12/29 19:43:17 1.2
+++ Makefile 2001/12/31 18:33:29
@@ -48,7 +48,7 @@
endif
ifeq ($(ARCH),ppc)
-RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \
+RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops \
-fomit-frame-pointer -fexpensive-optimizations
endif
@@ -78,7 +78,7 @@
CTF_DIR=$(MOUNT_DIR)/ctf
XATRIX_DIR=$(MOUNT_DIR)/xatrix
-BASE_CFLAGS=-Dstricmp=strcasecmp
+BASE_CFLAGS=-pipe -Wall -Dstricmp=strcasecmp
ifneq ($(ARCH),i386)
BASE_CFLAGS+=-DC_ONLY
endif
@@ -160,7 +160,7 @@
ifeq ($(ARCH),ppc)
ifeq ($(strip $(BUILD_SDLQUAKE2)),YES)
- $(warning Warning: SDLQuake2 not supported for $(ARCH))
+ TARGETS += $(BUILDDIR)/sdlquake2
endif
ifeq ($(strip $(BUILD_SVGA)),YES)
@@ -168,12 +168,10 @@
endif
ifeq ($(strip $(BUILD_X11)),YES)
- #$(warning Warning: X11 support not supported for $(ARCH))
TARGETS += $(BUILDDIR)/ref_softx.$(SHLIBEXT)
endif
ifeq ($(strip $(BUILD_GLX)),YES)
- #$(warning Warning: GLX support not supported for $(ARCH))
TARGETS += $(BUILDDIR)/ref_glx.$(SHLIBEXT)
endif
@@ -182,7 +180,6 @@
endif
ifeq ($(strip $(BUILD_SDL)),YES)
- #$(warning Warning: SDL support not supported for $(ARCH))
TARGETS += $(BUILDDIR)/ref_softsdl.$(SHLIBEXT)
endif
More information about the quake2
mailing list