commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1198754 - /commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
Date Mon, 07 Nov 2011 14:36:03 GMT
Author: mturk
Date: Mon Nov  7 14:36:02 2011
New Revision: 1198754

URL: http://svn.apache.org/viewvc?rev=1198754&view=rev
Log:
Make sure linker flags are set as well

Modified:
    commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4

Modified: commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4?rev=1198754&r1=1198753&r2=1198754&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 (original)
+++ commons/proper/daemon/trunk/src/native/unix/support/apsupport.m4 Mon Nov  7 14:36:02 2011
@@ -86,6 +86,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
     if test "$supported_os" = "hp-ux"
     then
         CFLAGS="$CFLAGS -milp32 -DCPU=\\\"IA64N\\\" -DSO_EXT=\\\"so\\\""
+        LDFLAGS="$LDFLAGS -milp32"
     else
         CFLAGS="$CFLAGS -DCPU=\\\"i386\\\""
     fi
@@ -122,6 +123,7 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
     if test "$supported_os" = "hp-ux"
     then
         CFLAGS="$CFLAGS -mlp64 -DCPU=\\\"IA64W\\\" -DSO_EXT=\\\"so\\\""
+        LDFLAGS="$LDFLAGS -mlp64"
     else
         CFLAGS="$CFLAGS -DCPU=\\\"ia64\\\""
     fi



Mime
View raw message