From 26288b092ec22af5d6812394a6c8a59cd387d991 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 12 Dec 2003 00:02:06 +0000 Subject: 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 --- src/driver/make.code.defn | 7 +++++++ src/elliptic/make.code.defn | 7 +++++++ src/gr/make.code.defn | 7 +++++++ src/jtutil/make.code.defn | 7 +++++++ src/patch/make.code.defn | 7 +++++++ 5 files changed, 35 insertions(+) (limited to 'src') 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 -- cgit v1.2.3