aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/make.code.defn7
-rw-r--r--src/elliptic/make.code.defn7
-rw-r--r--src/gr/make.code.defn7
-rw-r--r--src/jtutil/make.code.defn7
-rw-r--r--src/patch/make.code.defn7
5 files changed, 35 insertions, 0 deletions
diff --git a/src/driver/make.code.defn b/src/driver/make.code.defn
index d26a076..b973728 100644
--- a/src/driver/make.code.defn
+++ b/src/driver/make.code.defn
@@ -11,3 +11,10 @@ SRCS = state.cc \
# Subdirectories containing source files
SUBDIRS =
+
+# disable automatic template instantiation on DEC Alphas
+ifeq ($(shell uname), OSF1)
+ ifeq ($(CXX), cxx)
+ CXXFLAGS += -nopt
+ endif
+endif
diff --git a/src/elliptic/make.code.defn b/src/elliptic/make.code.defn
index 8f7883d..a8a08d4 100644
--- a/src/elliptic/make.code.defn
+++ b/src/elliptic/make.code.defn
@@ -8,3 +8,10 @@ SRCS = Jacobian.cc \
# Subdirectories containing source files
SUBDIRS =
+
+# disable automatic template instantiation on DEC Alphas
+ifeq ($(shell uname), OSF1)
+ ifeq ($(CXX), cxx)
+ CXXFLAGS += -nopt
+ endif
+endif
diff --git a/src/gr/make.code.defn b/src/gr/make.code.defn
index 2795891..71bf658 100644
--- a/src/gr/make.code.defn
+++ b/src/gr/make.code.defn
@@ -9,3 +9,10 @@ SRCS = expansion.cc \
# Subdirectories containing source files
SUBDIRS =
+
+# disable automatic template instantiation on DEC Alphas
+ifeq ($(shell uname), OSF1)
+ ifeq ($(CXX), cxx)
+ CXXFLAGS += -nopt
+ endif
+endif
diff --git a/src/jtutil/make.code.defn b/src/jtutil/make.code.defn
index c188744..8c144cf 100644
--- a/src/jtutil/make.code.defn
+++ b/src/jtutil/make.code.defn
@@ -7,3 +7,10 @@ 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
+ifeq ($(shell uname), OSF1)
+ ifeq ($(CXX), cxx)
+ CXXFLAGS += -nopt
+ endif
+endif
diff --git a/src/patch/make.code.defn b/src/patch/make.code.defn
index a24223f..4a02eca 100644
--- a/src/patch/make.code.defn
+++ b/src/patch/make.code.defn
@@ -15,3 +15,10 @@ SRCS = coords.cc \
# Subdirectories containing source files
SUBDIRS =
+
+# disable automatic template instantiation on DEC Alphas
+ifeq ($(shell uname), OSF1)
+ ifeq ($(CXX), cxx)
+ CXXFLAGS += -nopt
+ endif
+endif