summaryrefslogtreecommitdiff
path: root/lib/make/known-architectures
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-19 11:02:05 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2006-07-19 11:02:05 +0000
commit5e8a6d12850955880b0aba398e4c3b6386c32e41 (patch)
treeac3b7d100c0ce8bb7122a3586abb14fd4834cba4 /lib/make/known-architectures
parent26d6e3b3c0c5176cd762312ea54addc3be498921 (diff)
Remove the test whether the options -no-cpp-precomp or -mlongcall
should be added when gcc is used. The test used illegal shell syntax, which made it always fail, and uses compiler version numbers which are not available at this point. The new setting is: Do not add any of these options by default. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4350 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/known-architectures')
-rw-r--r--lib/make/known-architectures/darwin27
1 files changed, 9 insertions, 18 deletions
diff --git a/lib/make/known-architectures/darwin b/lib/make/known-architectures/darwin
index e4aa6dbc..1caf19b6 100644
--- a/lib/make/known-architectures/darwin
+++ b/lib/make/known-architectures/darwin
@@ -6,7 +6,7 @@
# @desc
# Known architecture stuff for MacOS X (Darwin)
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/darwin,v 1.16 2006-06-23 04:47:58 schnetter Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/make/known-architectures/darwin,v 1.17 2006-07-19 11:02:05 schnetter Exp $
# @@*/
if test "$CCTK_CONFIG_STAGE" = 'preferred-compilers' ; then
@@ -70,11 +70,8 @@ else
CXX_DEPEND='$(CXX) -M $(CPPFLAGS)'
elif test -e '/usr/lib/gcc/darwin/3.3' ; then
# This is dangerous -- it could pick up the wrong gcc
- if MAC_C_VERSION_MAJOR < 4 && MAC_C_VERSION_MINOR < 3 ; then
- C_DEPEND='gcc -M -no-cpp-precomp $(CPPFLAGS)'
- else
- C_DEPEND='gcc -M $(CPPFLAGS)'
- fi
+ # C_DEPEND='gcc -M -no-cpp-precomp $(CPPFLAGS)'
+ C_DEPEND='gcc -M $(CPPFLAGS)'
CXX_DEPEND='g++ -E -M $(CPPFLAGS)'
else
C_DEPEND='$(PERL) $(CCTK_HOME)/lib/sbin/cpp.pl -M $(CPPFLAGS)'
@@ -129,11 +126,8 @@ else
case "$MAC_C_COMP" in
gcc)
CC_VERSION="`$CC --version 2>&1 | head -n 1`"
- if MAC_C_VERSION_MAJOR < 4 && MAC_C_VERSION_MINOR < 3 ; then
- : ${CFLAGS="-no-cpp-precomp -mlongcall"}
- else
- : ${CFLAGS="-mlongcall"}
- fi
+ # : ${CFLAGS="-no-cpp-precomp -mlongcall"}
+ # : ${CFLAGS="-mlongcall"}
;;
*)
:
@@ -143,11 +137,8 @@ else
case "$MAC_CXX_COMP" in
gcc)
CXX_VERSION="`$CXX --version 2>&1 | head -n 1`"
- if MAC_C_VERSION_MAJOR < 4 && MAC_C_VERSION_MINOR < 3 ; then
- : ${CXXFLAGS="-no-cpp-precomp -mlongcall"}
- else
- : ${CXXFLAGS="-mlongcall"}
- fi
+ # : ${CXXFLAGS="-no-cpp-precomp -mlongcall"}
+ # : ${CXXFLAGS="-mlongcall"}
;;
*)
:
@@ -186,8 +177,8 @@ else
gcc)
F77_VERSION="`$F77 --version 2>&1 | head -n 1`"
F90_VERSION="`$F90 --version 2>&1 | head -n 1`"
- : ${F77FLAGS='-mlongcall'}
- : ${F90FLAGS='-mlongcall'}
+ # : ${F77FLAGS='-mlongcall'}
+ # : ${F90FLAGS='-mlongcall'}
: ${LIBS='gfortran'}
;;
ibm)