commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r764737 - /commons/sandbox/runtime/trunk/src/main/native/configure
Date Tue, 14 Apr 2009 11:08:06 GMT
Author: mturk
Date: Tue Apr 14 11:08:06 2009
New Revision: 764737

URL: http://svn.apache.org/viewvc?rev=764737&view=rev
Log:
Fix Solaris 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=764737&r1=764736&r2=764737&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Tue Apr 14 11:08:06 2009
@@ -274,7 +274,12 @@
         ;;
     solaris-cc )
         r="`uname -r | sed 's/5.//'`"
-        varadds ccflags "-fast -O -Xa -KPIC"
+        if [ ".$mach" = ".sparc" ]; then
+            varadds ccflags "-xarch=sparc"
+        else
+            varadds ccflags "-fast"
+        fi
+        varadds ccflags "-xstrconst -xdepend -O -Xa -KPIC"
         varadds cppopts "-D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=$r"
         varadds ldflags "-lrt -lthread -lsocket -lnsl -ldl -laio"
         varadds shflags "-G -KPIC -dy"



Mime
View raw message