diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-07-01 12:55:45 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2004-07-01 12:55:45 +0000 |
commit | f79a56634c54e967241d59f6a7feb5dd2c443d4f (patch) | |
tree | 6d78abbfc9a00c05be11a36081e549c35af18fd6 /src | |
parent | 4bdb783f0933467a2d1095abf82d58425e9cb61c (diff) |
disable automagic template instantiation on SGI CC compiler
because it's totally broken:
if file A contains #include "../jtutil/array.hh"
the compiler tries to also #include "../jtutil/array.cc"
(even though I didn't ask for that file)... then it gets fatal errors
when it can't resolve relative include paths for *that* file :(
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1375 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/make.code.defn | 9 | ||||
-rw-r--r-- | src/elliptic/make.code.defn | 9 | ||||
-rw-r--r-- | src/gr/make.code.defn | 9 | ||||
-rw-r--r-- | src/jtutil/make.code.defn | 9 | ||||
-rw-r--r-- | src/patch/make.code.defn | 9 |
5 files changed, 40 insertions, 5 deletions
diff --git a/src/driver/make.code.defn b/src/driver/make.code.defn index 9cbbddd..7f9ae10 100644 --- a/src/driver/make.code.defn +++ b/src/driver/make.code.defn @@ -12,9 +12,16 @@ SRCS = state.cc \ # Subdirectories containing source files SUBDIRS = -# disable automatic template instantiation on DEC Alphas +# disable automatic template instantiation on DEC Alphas cxx compiler ifeq ($(shell uname), OSF1) ifeq ($(CXX), cxx) CXXFLAGS += -nopt endif endif + +# disable automagic template instantiation on SGI Irix CC compiler +ifneq (,$(findstring IRIX,$(shell uname))) + ifeq ($(notdir $(CXX)), CC) + CXXFLAGS += -no_auto_include + endif +endif diff --git a/src/elliptic/make.code.defn b/src/elliptic/make.code.defn index a8a08d4..72552f9 100644 --- a/src/elliptic/make.code.defn +++ b/src/elliptic/make.code.defn @@ -9,9 +9,16 @@ SRCS = Jacobian.cc \ # Subdirectories containing source files SUBDIRS = -# disable automatic template instantiation on DEC Alphas +# disable automatic template instantiation on DEC Alphas cxx compiler ifeq ($(shell uname), OSF1) ifeq ($(CXX), cxx) CXXFLAGS += -nopt endif endif + +# disable automagic template instantiation on SGI Irix CC compiler +ifneq (,$(findstring IRIX,$(shell uname))) + ifeq ($(notdir $(CXX)), CC) + CXXFLAGS += -no_auto_include + endif +endif diff --git a/src/gr/make.code.defn b/src/gr/make.code.defn index 71bf658..37e9db6 100644 --- a/src/gr/make.code.defn +++ b/src/gr/make.code.defn @@ -10,9 +10,16 @@ SRCS = expansion.cc \ # Subdirectories containing source files SUBDIRS = -# disable automatic template instantiation on DEC Alphas +# disable automatic template instantiation on DEC Alphas cxx compiler ifeq ($(shell uname), OSF1) ifeq ($(CXX), cxx) CXXFLAGS += -nopt endif endif + +# disable automagic template instantiation on SGI Irix CC compiler +ifneq (,$(findstring IRIX,$(shell uname))) + ifeq ($(notdir $(CXX)), CC) + CXXFLAGS += -no_auto_include + endif +endif diff --git a/src/jtutil/make.code.defn b/src/jtutil/make.code.defn index 8c144cf..f9bcd04 100644 --- a/src/jtutil/make.code.defn +++ b/src/jtutil/make.code.defn @@ -8,9 +8,16 @@ SRCS = array.cc cpm_map.cc fuzzy.cc linear_map.cc norm.cc round.cc \ # Subdirectories containing source files SUBDIRS = -# disable automatic template instantiation on DEC Alphas +# disable automatic template instantiation on DEC Alphas cxx compiler ifeq ($(shell uname), OSF1) ifeq ($(CXX), cxx) CXXFLAGS += -nopt endif endif + +# disable automagic template instantiation on SGI Irix CC compiler +ifneq (,$(findstring IRIX,$(shell uname))) + ifeq ($(notdir $(CXX)), CC) + CXXFLAGS += -no_auto_include + endif +endif diff --git a/src/patch/make.code.defn b/src/patch/make.code.defn index 4a02eca..15194f2 100644 --- a/src/patch/make.code.defn +++ b/src/patch/make.code.defn @@ -16,9 +16,16 @@ SRCS = coords.cc \ # Subdirectories containing source files SUBDIRS = -# disable automatic template instantiation on DEC Alphas +# disable automatic template instantiation on DEC Alphas cxx compiler ifeq ($(shell uname), OSF1) ifeq ($(CXX), cxx) CXXFLAGS += -nopt endif endif + +# disable automagic template instantiation on SGI Irix CC compiler +ifneq (,$(findstring IRIX,$(shell uname))) + ifeq ($(notdir $(CXX)), CC) + CXXFLAGS += -no_auto_include + endif +endif |