|
From: <cn...@us...> - 2009-08-27 20:22:30
|
Revision: 525
http://hgengine.svn.sourceforge.net/hgengine/?rev=525&view=rev
Author: cnlohr
Date: 2009-08-27 20:22:18 +0000 (Thu, 27 Aug 2009)
Log Message:
-----------
Add special case for 32-bit systems. We're using features only available on Pentiums (in the semaphore). We need to make sure we use a pentium instruction set
Modified Paths:
--------------
Mercury2/base_set.sh
Modified: Mercury2/base_set.sh
===================================================================
--- Mercury2/base_set.sh 2009-08-24 17:24:14 UTC (rev 524)
+++ Mercury2/base_set.sh 2009-08-27 20:22:18 UTC (rev 525)
@@ -74,3 +74,9 @@
CC_BASE="$CC_BASE -I"/System/Library/Frameworks/OpenGL.framework/Headers" -Isrc -I/usr/X11R6/include -I. -Isrc/ode -Iode -Isrc/png -Ipng"
LD_BASE="-Lsrc/maclib -framework OpenGL -lobjc -framework GLUT -framework ApplicationServices"
fi
+
+ARCH=`uname -m`
+
+if test $ARCH = "i686" || test $ARCH = "i586"; then
+ CC_BASE="$CC_BASE -march=pentium"
+fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|