aboutsummaryrefslogtreecommitdiff
path: root/mk/precompiled-headers.mk
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-04-06 10:00:00 -0600
committerBen Burdette <bburdette@gmail.com>2020-04-06 10:00:00 -0600
commit216263c36f7827a1cf578627579f9cb074dc2749 (patch)
treef9cd590c619319be2b3116f03f1f369051797fcc /mk/precompiled-headers.mk
parent1221ae3dd07959d47d9f27e9d2271671003d2bed (diff)
parentebb20a5356af023498506324bd0f88a99175e295 (diff)
Merge branch 'master' into error-format
Diffstat (limited to 'mk/precompiled-headers.mk')
-rw-r--r--mk/precompiled-headers.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/precompiled-headers.mk b/mk/precompiled-headers.mk
index 1a727ba1b..1c0452dc2 100644
--- a/mk/precompiled-headers.mk
+++ b/mk/precompiled-headers.mk
@@ -8,14 +8,14 @@ GCH = $(buildprefix)precompiled-headers.h.gch
$(GCH): precompiled-headers.h
@rm -f $@
@mkdir -p "$(dir $@)"
- $(trace-gen) $(CXX) -x c++-header -o $@ $< $(GLOBAL_CXXFLAGS)
+ $(trace-gen) $(CXX) -x c++-header -o $@ $< $(GLOBAL_CXXFLAGS) $(GCH_CXXFLAGS)
PCH = $(buildprefix)precompiled-headers.h.pch
$(PCH): precompiled-headers.h
@rm -f $@
@mkdir -p "$(dir $@)"
- $(trace-gen) $(CXX) -x c++-header -o $@ $< $(GLOBAL_CXXFLAGS)
+ $(trace-gen) $(CXX) -x c++-header -o $@ $< $(GLOBAL_CXXFLAGS) $(GCH_CXXFLAGS)
clean-files += $(GCH) $(PCH)