aboutsummaryrefslogtreecommitdiff
path: root/src/driver
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/driver
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/driver')
-rw-r--r--src/driver/make.code.defn7
1 files changed, 7 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