diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-17 15:15:33 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-17 15:15:33 +0000 |
commit | 6740797e831b307d8853b1f954b17aa8b28adf98 (patch) | |
tree | 3b04b99e0ffb9879aabaf1098c4a120605752efe /lib/make/known-architectures/aix | |
parent | 2e71a9f7318ccbe9bd4bc391f26685e1a9e2cde0 (diff) |
Fix for freeformat f90 compilation. This was PR 224.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1968 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/aix')
-rw-r--r-- | lib/make/known-architectures/aix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/make/known-architectures/aix b/lib/make/known-architectures/aix index cee4b37d..4b16ba71 100644 --- a/lib/make/known-architectures/aix +++ b/lib/make/known-architectures/aix @@ -23,13 +23,20 @@ if test "$CCTK_CONFIG_STAGE" = "preferred-compilers" ; then else - : ${F90FLAGS="-qfixed"} + : ${F90FLAGS=""} : ${F77FLAGS="-qfixed"} : ${F90_OPTIMISE_FLAGS="-O2"} : ${F77_OPTIMISE_FLAGS="-O2"} : ${F90_DEBUG_FLAGS="-g"} : ${F77_DEBUG_FLAGS="-g"} + : ${F90_SUFFIX="f"} + CCTK_WriteLine make.arch.defn 'F90FLAGS += $(AIX_$(subst .,,$(suffix $<))_FLAGS)' + CCTK_WriteLine make.arch.defn 'AIX_F90_FLAGS = ' + CCTK_WriteLine make.arch.defn 'AIX_f90_FLAGS = ' + CCTK_WriteLine make.arch.defn 'AIX_F_FLAGS = -qfixed' + CCTK_WriteLine make.arch.defn 'AIX_f_FLAGS = -qfixed' + case "$CC" in gcc) : ${C_DEPEND_OUT=' > $@'} |