summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/aix
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-07-17 09:55:45 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-07-17 09:55:45 +0000
commit71a5bcaf01299bcf9bc733e509bd6ee924b45a3a (patch)
treeb64c46577122cc65291079c12c3c648ccdaae088 /lib/make/known-architectures/aix
parent1f4eaf9aa81fe4c1ae14f7476851cc7eee3cc951 (diff)
Adding optimise and debug flags for fortran
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1755 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/aix')
-rw-r--r--lib/make/known-architectures/aix10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix
index a64bc1f4..3ffb4913 100644
--- a/lib/make/known-architectures/aix
+++ b/lib/make/known-architectures/aix
@@ -23,8 +23,12 @@ if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then
else
- : ${F90FLAGS="-g -O2 -qfixed"}
- : ${F77FLAGS="-g -O2 -qfixed"}
+ : ${F90FLAGS="-qfixed"}
+ : ${F77FLAGS="-qfixed"}
+ : ${F90_OPTIMISE_FLAGS="-O2"}
+ : ${F77_OPTIMISE_FLAGS="-O2"}
+ : ${F90_DEBUG_FLAGS="-g"}
+ : ${F77_DEBUG_FLAGS="-g"}
case "$CC" in
gcc)
@@ -65,7 +69,7 @@ else
if test "$MPI" = "NATIVE" ; then
case "$CC:$CXX" in
"xlc:xlC"|"cc:xlC")
- LD=mpCC
+ : ${LD=mpCC}
;;
*)
echo "NATIVE MPI requires xlc and xlC"