summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-22 17:35:46 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-01-22 17:35:46 +0000
commit90cfb87534f2c1e29898ecae45a76cffc6a61d5f (patch)
tree4904ca5e48978eeb64e14d22e61bdd944c9bbbf2 /lib/make/known-architectures
parentb7030f6d4535a9b6c1f5766600456e0bd4ea8464 (diff)
Do some magic with the F77 flags since we now override the normal settings
when using an F90 compiler. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4237 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures')
-rw-r--r--lib/make/known-architectures/bgl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/make/known-architectures/bgl b/lib/make/known-architectures/bgl
index 2d653047..2a31c834 100644
--- a/lib/make/known-architectures/bgl
+++ b/lib/make/known-architectures/bgl
@@ -6,7 +6,7 @@
# @desc
# Known-architectures file for IBM Bluegene/L systems
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/bgl,v 1.1 2005-10-06 17:54:46 goodale Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/bgl,v 1.2 2006-01-22 17:35:46 goodale Exp $
# @@*/
if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
@@ -50,9 +50,12 @@ else
: ${F77_DEBUG_FLAGS='-g'}
: ${F90_SUFFIX='f'}
+ CCTK_WriteLine make.arch.defn 'F77FLAGS += $(BGL_$(subst .,,$(suffix $<))_FLAGS)'
CCTK_WriteLine make.arch.defn 'F90FLAGS += $(BGL_$(subst .,,$(suffix $<))_FLAGS)'
CCTK_WriteLine make.arch.defn 'BGL_F90_FLAGS ='
CCTK_WriteLine make.arch.defn 'BGL_f90_FLAGS ='
+ CCTK_WriteLine make.arch.defn 'BGL_F77_FLAGS = -qfixed'
+ CCTK_WriteLine make.arch.defn 'BGL_f77_FLAGS = -qfixed'
CCTK_WriteLine make.arch.defn 'BGL_F_FLAGS = -qfixed'
CCTK_WriteLine make.arch.defn 'BGL_f_FLAGS = -qfixed'