commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r834384 - /commons/sandbox/runtime/trunk/src/main/native/configure
Date Tue, 10 Nov 2009 08:32:27 GMT
Author: mturk
Date: Tue Nov 10 08:32:25 2009
New Revision: 834384

URL: http://svn.apache.org/viewvc?rev=834384&view=rev
Log:
Make sure bits are set

Modified:
    commons/sandbox/runtime/trunk/src/main/native/configure

Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=834384&r1=834383&r2=834384&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Tue Nov 10 08:32:25 2009
@@ -423,7 +423,7 @@
     *-*64        )
         test ".$bits" = . && bits=64
     ;;
-    darwin-i386|darwin-ppc )
+    *-i386|darwin-ppc )
         test ".$bits" = . && bits=32
     ;;
 esac
@@ -434,6 +434,9 @@
         varadds cppopts -DLINUX=2 -D_GNU_SOURCE -D$mcpu -D__CC$bits
         varadds cppopts -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED
         varadds ccflags -fPIC -O3 -Wall -g
+        if [ ".$mach" = .i386 ]; then
+            varadds ccflags -march=i686
+        fi
         varadds asflags -c -fPIC -g -D$mcpu
         varadds ldflags -lrt -lpthread -ldl
         varadds shflags -shared -fPIC -Wl,-soname '-Wl,??@'



Mime
View raw message