aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-12-12 00:02:06 +0000
committertradke <tradke@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-12-12 00:02:06 +0000
commit26288b092ec22af5d6812394a6c8a59cd387d991 (patch)
treeccdc179297192333b8a52e0feaf1b98974094306
parent7b57fd4cc6dfa45c59fdee119b14708fad2de426 (diff)
Add proper CXXFLAGS to disable automatic template instantiation on DEC Alphas
with native C++. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1226 f88db872-0e4f-0410-b76b-b9085cfa78c5
-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