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