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/patch | |
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/patch')
-rw-r--r-- | src/patch/make.code.defn | 9 |
1 files changed, 8 insertions, 1 deletions
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 |