aboutsummaryrefslogtreecommitdiffhomepage
path: root/scintilla.am
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla.am')
-rw-r--r--scintilla.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/scintilla.am b/scintilla.am
index df340bf..c9cf4c6 100644
--- a/scintilla.am
+++ b/scintilla.am
@@ -4,10 +4,13 @@
if INTERFACE_GTK
MAKE_SCINTILLA = $(MAKE) -C @SCINTILLA_PATH@/gtk \
- GTK3=yes CONFIGFLAGS='@LIBGTK_CFLAGS@'
+ GTK3=yes CONFIGFLAGS='@LIBGTK_CFLAGS@' \
+ CXXFLAGS='@SCINTILLA_CXXFLAGS@'
else
+# FIXME: There is currently no way to override the standard optimization
+# flags of Scinterm, so we pass them in CURSES_FLAGS.
MAKE_SCINTILLA = $(MAKE) -C @SCINTERM_PATH@ \
- CURSES_FLAGS='@PDCURSES_CFLAGS@ @XCURSES_CFLAGS@ @NCURSES_CFLAGS@'
+ CURSES_FLAGS='@PDCURSES_CFLAGS@ @XCURSES_CFLAGS@ @NCURSES_CFLAGS@ @SCINTILLA_CXXFLAGS@'
endif
# Pass toolchain configuration to Scintilla.