Author: mturk Date: Sat Oct 17 07:31:38 2009 New Revision: 826185 URL: http://svn.apache.org/viewvc?rev=826185&view=rev Log: Use Mac asembler flags
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=826185&r1=826184&r2=826185&view=diff ============================================================================== --- commons/sandbox/runtime/trunk/src/main/native/configure (original) +++ commons/sandbox/runtime/trunk/src/main/native/configure Sat Oct 17 07:31:38 2009 @@ -387,7 +387,7 @@ test ".$has_32_bit" = .yes && mach=i386 ;; ia64 ) - test ".$has_32_bit" = .yes && mach=i386 + test ".$has_32_bit" = .yes && mach=ia32 ;; i[3-7]86 ) mach=i386 @@ -423,7 +423,7 @@ *-*64 ) test ".$bits" = . && bits=64 ;; - darwin-i386 ) + darwin-i386|darwin-ppc ) test ".$bits" = . && bits=32 ;; esac @@ -608,6 +608,9 @@ esac case "$host$bits-$cc" in + darwin* ) + varadds asflags -arch $cpu + ;; *64-gcc ) varadds asflags --64 ;;