summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures/linux
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-22 03:00:46 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-04-22 03:00:46 +0000
commit317d7c41ce49ce49ba91c01e6ab0907575115a15 (patch)
treecb663d1943777354bd0a164acc84892eb3d32358 /lib/make/known-architectures/linux
parent56cc5a325c84ab03d5f863c149651ae4d428b443 (diff)
No need anymore to check for both OPTIMISE and OPTIMIZE. This is now already
done in the configure script. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3669 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures/linux')
-rw-r--r--lib/make/known-architectures/linux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/make/known-architectures/linux b/lib/make/known-architectures/linux
index 4f7e73f1..78b79989 100644
--- a/lib/make/known-architectures/linux
+++ b/lib/make/known-architectures/linux
@@ -227,7 +227,7 @@ else
case "$host_cpu" in
i?86)
- if test "$OPTIMISE" = 'no' -o "$OPTIMIZE" = 'no'; then
+ if test "$OPTIMISE" = 'no'; then
: ${F77FLAGS='-align -w95 -O0'}
: ${F90FLAGS='-align -w95 -O0'}
else
@@ -266,7 +266,7 @@ else
ia64)
# Below is taken from IA32 settings and may be wrong for different versions etc
- if test "$OPTIMISE" = 'no' -o "$OPTIMIZE" = 'no'; then
+ if test "$OPTIMISE" = 'no'; then
: ${F77FLAGS='-align -w95 -O0'}
: ${F90FLAGS='-align -w95 -O0'}
else
@@ -325,7 +325,7 @@ else
: ${C_OPTIMISE_FLAGS='-O3'}
;;
[ei]cc)
- if test "$OPTIMISE" = 'no' -o "$OPTIMIZE" = 'no'; then
+ if test "$OPTIMISE" = 'no'; then
: ${CFLAGS='-O0 -restrict'}
else
: ${CFLAGS='-restrict'}
@@ -351,7 +351,7 @@ else
: ${CXX_OPTIMISE_FLAGS='-O3'}
;;
[ei]cc | [ei]cpc)
- if test "$OPTIMISE" = 'no' -o "$OPTIMIZE" = 'no'; then
+ if test "$OPTIMISE" = 'no'; then
: ${CXXFLAGS='-restrict -O0'}
else
: ${CXXFLAGS='-restrict'}