diff options
| author | Andreas Rönnquist <unknown> | 2020-07-30 16:00:10 +1000 |
|---|---|---|
| committer | Andreas Rönnquist <unknown> | 2020-07-30 16:00:10 +1000 |
| commit | 66022254f1cb80c4446286347b5225ee65839655 (patch) | |
| tree | 81f28c9525c6e3fa4d37fb176f14be046e26056a /gtk/makefile | |
| parent | f0287737cb015ea1a650b5a9f112699e2f4e1a12 (diff) | |
| download | scintilla-mirror-66022254f1cb80c4446286347b5225ee65839655.tar.gz | |
Bug [#2191]. Allow setting CPPFLAGS to support hardening.
Diffstat (limited to 'gtk/makefile')
| -rw-r--r-- | gtk/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/makefile b/gtk/makefile index 6724f7ae0..dc04d4e8a 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -106,9 +106,9 @@ clean: $(DEL) *.o $(call normalize,$(COMPLIB)) $(call normalize,$(COMPONENT)) *.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 $< GLIB_GENMARSHAL = glib-genmarshal GLIB_GENMARSHAL_FLAGS = --prefix=scintilla_marshal |
