r281 - in trunk/code: qcommon unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sat Nov 5 13:41:37 EST 2005


Author: tma
Date: 2005-11-05 13:41:37 -0500 (Sat, 05 Nov 2005)
New Revision: 281

Modified:
   trunk/code/qcommon/q_platform.h
   trunk/code/unix/Makefile
Log:
* Enable use of asm on Solaris-x86


Modified: trunk/code/qcommon/q_platform.h
===================================================================
--- trunk/code/qcommon/q_platform.h	2005-11-05 15:54:56 UTC (rev 280)
+++ trunk/code/qcommon/q_platform.h	2005-11-05 18:41:37 UTC (rev 281)
@@ -32,8 +32,7 @@
 
 #else
 
-#if (defined _M_IX86 || defined __i386__) && \
-		!defined __sun && !defined(C_ONLY)
+#if (defined _M_IX86 || defined __i386__) && !defined(C_ONLY)
 #define id386 1
 #else
 #define id386 0

Modified: trunk/code/unix/Makefile
===================================================================
--- trunk/code/unix/Makefile	2005-11-05 15:54:56 UTC (rev 280)
+++ trunk/code/unix/Makefile	2005-11-05 18:41:37 UTC (rev 281)
@@ -398,12 +398,12 @@
   endif
 
   OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
-  BASE_CFLAGS += -DNO_VM_COMPILED
 
   ifeq ($(ARCH),sparc)
     OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -falign-loops=2 \
       -falign-jumps=2 -falign-functions=2 -fstrength-reduce \
       -funroll-loops
+    BASE_CFLAGS += -DNO_VM_COMPILED
   else
   ifeq ($(ARCH),i386)
     OPTIMIZE = -O3 -march=i686 -fomit-frame-pointer -ffast-math \




More information about the quake3-commits mailing list