aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d44689b..56e61c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,14 @@ AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
+# Use the user provided CXXFLAGS for Scintilla as well.
+# This makes sure that the same optimizations are applied
+# to SciTECO and Scintilla.
+# We cannot pass CXXFLAGS directly to Scintilla since
+# we modify it during library checking.
+SCINTILLA_CXXFLAGS="$CXXFLAGS"
+AC_SUBST(SCINTILLA_CXXFLAGS)
+
# Automake build flag substitutions.
# Necessary so we can change their default values here
AC_SUBST(AM_CPPFLAGS)