summaryrefslogtreecommitdiff
path: root/lib/make
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-31 16:10:50 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-31 16:10:50 +0000
commitbed212149a24f559424fcd41c880a73f1771134c (patch)
tree13e1ba5c36164a46aa8235232d4697967b64ac3c /lib/make
parent09f3ea987a09fc9f4d1c488718d1ed08d545e7a7 (diff)
Set default optimization flags for gfortran compiler to '-O3 -funroll-loops'.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3628 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make')
-rw-r--r--lib/make/known-architectures/linux10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 26b5fbde..f7ad5c7a 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -123,10 +123,12 @@ else
;;
gnu95)
: ${LIBS="gfortran"}
- : ${F77_DEBUG_FLAGS="-g"}
- : ${F90_DEBUG_FLAGS="-g"}
- : ${F77_WARN_FLAGS="-Wall"}
- : ${F90_WARN_FLAGS="-Wall"}
+ : ${F77_DEBUG_FLAGS='-g'}
+ : ${F90_DEBUG_FLAGS='-g'}
+ : ${F77_WARN_FLAGS='-Wall'}
+ : ${F90_WARN_FLAGS='-Wall'}
+ : ${F77_OPTIMISE_FLAGS='-O3 -funroll-loops'}
+ : ${F90_OPTIMISE_FLAGS='-O3 -funroll-loops'}
;;
pacific)
if test "$LINUX_G77_USES_LIBG2C" = "yes" ; then