aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html4
-rw-r--r--gtk/makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 217254f1a..ab887fcb6 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -575,6 +575,10 @@
Allow cross-building for GTK by choosing pkg-config.
<a href="https://sourceforge.net/p/scintilla/bugs/2189/">Bug #2189</a>.
</li>
+ <li>
+ On GTK, allow setting CPPFLAGS (and LDFLAGS for SciTE) to support hardening.
+ <a href="https://sourceforge.net/p/scintilla/bugs/2191/">Bug #2191</a>.
+ </li>
</ul>
<h3>
<a href="https://sourceforge.net/projects/scintilla/files/scintilla/3.21.0/scintilla3210.zip/download">Release 3.21.0</a>
diff --git a/gtk/makefile b/gtk/makefile
index 1117a420c..754fc9a1a 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -99,9 +99,9 @@ clean:
$(DEL) *.o $(call normalize,$(COMPLIB)) *.plist
%.o: %.cxx
- $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -c $<
+ $(CXX) $(CPPFLAGS) $(CXX_ALL_FLAGS) $(CXXFLAGS) -c $<
%.o: %.c
- $(CC) $(DEFINES) $(INCLUDES) $(CONFIG_FLAGS) $(BASE_FLAGS) $(CFLAGS) -w -c $<
+ $(CC) $(CPPFLAGS) $(DEFINES) $(INCLUDES) $(CONFIG_FLAGS) $(BASE_FLAGS) $(CFLAGS) -w -c $<
$(LUA_OBJS): %.o: ../lua/src/%.c
$(CC) $(LUA_CFLAGS) $(CFLAGS) -c $<