aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/make.code.defn6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
index ab0fe70..b1b1a11 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -67,6 +67,12 @@ ifeq ($(UNAME), Linux)
CXXFLAGS += -DANSI
+# Portland group compiler has special flag
+# to control instantiation of template functions
+ifeq ($(CXX), pgCC)
+CXXFLAGS += -tused
+endif
+
endif
# Macintosh /PowerMach-MachTen