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 2011/04/18 12:58:45 UTC
svn commit: r1094483 -
/commons/sandbox/runtime/trunk/src/main/native/configure
Author: mturk
Date: Mon Apr 18 10:58:45 2011
New Revision: 1094483
URL: http://svn.apache.org/viewvc?rev=1094483&view=rev
Log:
Fix AIX config
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=1094483&r1=1094482&r2=1094483&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Mon Apr 18 10:58:45 2011
@@ -528,7 +528,7 @@ case "$host-$mach" in
*-*64 )
test ".$bits" = . && bits=64
;;
- *-i386|darwin-ppc )
+ *-i386|darwin-ppc|aix-ppc )
test ".$bits" = . && bits=32
;;
esac
@@ -663,11 +663,8 @@ case "$host-$cctype" in
varadds cppopts -U__STR__ -D_THREAD_SAFE -D_USE_IRS -D$mcpu -D__CC$bits
varadds ccflags -O2 -Wall -pthread
varadds ccshare -fPIC
- varadds ldflags -lrt -lpthreads -lnsl
+ varadds ldflags -Wl,-brtl -lrt -lpthreads -lnsl
varadds shflags -shared -fPIC
- varadds lddname '-Wl,-soname,??@' -Wl,-brtl
- varadds ldrpath '-Wl,-rpath,??(PREFIX)/??(LIBDIR):????ORIGIN'
- echo "Warning : WORK IN PROGRESS"
;;
* )
echo "$host$bits-$cc platform is not supported!"
@@ -729,12 +726,12 @@ case "$host$bits-$cc" in
aix64-* )
varadds ccflags -maix64
varadds asflags -maix64
- varadds lddarch -maix64
+ varadds lddarch -maix64 -Wl,-b64
;;
aix32-* )
varadds ccflags -maix32
varadds asflags -maix32
- varadds lddarch -maix32
+ varadds lddarch -maix32 -Wl,-b32
;;
*64-* )
varadds ccflags -m64