Skip to content

Commit

Permalink
disable unused Scintilla features at build time
Browse files Browse the repository at this point in the history
should slightly reduce binary size
  • Loading branch information
rhaberkorn committed Sep 9, 2024
1 parent e5d49eb commit 2f632e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2f632e1

Please sign in to comment.