aboutsummaryrefslogtreecommitdiff
path: root/src/gr
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 /src/gr
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
Diffstat (limited to 'src/gr')
-rw-r--r--src/gr/make.code.defn7
1 files changed, 7 insertions, 0 deletions
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