summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-21 15:54:30 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-21 15:54:30 +0000
commitb0d47946a2c3ea17ec24d2640311ad2a02d2a32c (patch)
treee186acb72931a15599c82df531c23cb670ca6b2f /lib
parent9bbebd71779fc96f8d0aabe76b7ca7f0d412d48b (diff)
Removed the '-bmaxdata:0x80000000' option from LDFLAGS when compiling in
64-bit mode. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3667 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/make/known-architectures/aix9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix
index 76b41c10..1f0036fd 100644
--- a/lib/make/known-architectures/aix
+++ b/lib/make/known-architectures/aix
@@ -92,9 +92,14 @@ else
fi
fi
- # allow each process to use up to 2 GB of virtual memory (default is 256 MB)
+ # in 32-bit mode: allow each process to use up to 2 GB of virtual memory
+ # (default is only 256 MB)
if test "$LD" != 'g++' -a "$LD" != 'c++'; then
- : ${LDFLAGS="-q$AIX_BITS -bmaxdata:0x80000000"}
+ if test "$AIX_BITS" = 32; then
+ : ${LDFLAGS="-q$AIX_BITS -bmaxdata:0x80000000"}
+ else
+ : ${LDFLAGS="-q$AIX_BITS"}
+ fi
fi
# MPI stuff