diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-10-14 21:15:31 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2005-10-14 21:15:31 +0000 |
commit | 23cbb7ddbdf51203128edff9357f5a7f09097006 (patch) | |
tree | 7b62f74a33c94b5af09da8bc2cd673ed3a464634 /lib/make/known-architectures | |
parent | 8333cb2f5989287f11d00464dfc8694c6ae3e775 (diff) |
The line
${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS)
in the PGI configuration section in lib/make/known-architectures/linux
causes trouble. It means "use as F90 flags whatever the F77 flags
will be set to". This doesn't work together with the a recent patch
to configure.in, which says "use the same flags for F77 as for F90".
Overall we now have a circular definition.
As a quick fix, I replace the above line with the value of
F77_OPTIMISE_FLAGS. Since there is no other code which sets a shell
variable (the left hand side) to a Makefile expression (the right hand
side), it may have been an oversight anyway -- probably the author of
the above line wanted to write ${F77_OPTIMISE_FLAGS} instead anyway.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4184 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures')
-rw-r--r-- | lib/make/known-architectures/linux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux index 757cab61..936614c1 100644 --- a/lib/make/known-architectures/linux +++ b/lib/make/known-architectures/linux @@ -199,7 +199,7 @@ else : ${F77FLAGS='-Mx,125,0x200'} : ${F90FLAGS='-Mx,125,0x200'} : ${F77_OPTIMISE_FLAGS='-fast -Minfo -Mneginfo -Mvect=assoc'} - : ${F90_OPTIMISE_FLAGS='$(F77_OPTIMISE_FLAGS)'} + : ${F90_OPTIMISE_FLAGS='-fast -Minfo -Mneginfo -Mvect=assoc'} : ${F77_DEBUG_FLAGS='-g'} : ${F90_DEBUG_FLAGS='-g'} F90_VERSION="`$F90 -V 2>&1 | grep -i pgf90 | head -n1`" |