summaryrefslogtreecommitdiff
path: root/libstdc++-v3/fragment.am
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/fragment.am')
-rw-r--r--libstdc++-v3/fragment.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/fragment.am b/libstdc++-v3/fragment.am
index 5b1d503a6d7..0036ae8004a 100644
--- a/libstdc++-v3/fragment.am
+++ b/libstdc++-v3/fragment.am
@@ -19,6 +19,12 @@ else
WERROR_FLAG=
endif
+if ENABLE_EXTERN_TEMPLATE
+XTEMPLATE_FLAGS = -fno-implicit-templates
+else
+XTEMPLATE_FLAGS =
+endif
+
# These bits are all figured out from configure. Look in acinclude.m4
# or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
CONFIG_CXXFLAGS = \