aboutsummaryrefslogtreecommitdiff
path: root/src/gr/make.code.defn
diff options
context:
space:
mode:
Diffstat (limited to 'src/gr/make.code.defn')
-rw-r--r--src/gr/make.code.defn9
1 files changed, 8 insertions, 1 deletions
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