You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/11/10 09:32:27 UTC

svn commit: r834384 - /commons/sandbox/runtime/trunk/src/main/native/configure

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,??@'