diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 18:03:07 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-09-09 19:24:18 +0200 |
commit | 2f632e1238532ed25542fbff649486ce4aa37585 (patch) | |
tree | 1ecc03955d20e9cd3c1a7b8c22a593be2c5e4a70 | |
parent | e5d49ebf13899a09db031403df6bdce2d845853c (diff) | |
download | sciteco-2f632e1238532ed25542fbff649486ce4aa37585.tar.gz |
disable unused Scintilla features at build time
should slightly reduce binary size
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8ad8288..b7a5636 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,9 @@ fi # to SciTECO and Scintilla. # We cannot pass CXXFLAGS directly to Scintilla since # we modify it during library checking. -SCINTILLA_CXXFLAGS="$CXXFLAGS" +# Additionally, we can disable unused Scintilla features. +# See https://scintilla.org/ScintillaDoc.html#BuildingScintilla +SCINTILLA_CXXFLAGS="$CXXFLAGS -DNO_CXX11_REGEX -DSCI_DISABLE_PROVISIONAL" AC_SUBST(SCINTILLA_CXXFLAGS) # Automake build flag substitutions. |