diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-12-05 20:26:24 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-05 20:26:24 +0100 |
commit | 50d483a2c1c77bef1bab742eb8708626a61dc00e (patch) | |
tree | 87394dcdde71d4f84fbd7dffaac99f96e3d16b29 /mk | |
parent | 5e449b43ed31a518e13b21363ae3ba1994ce1cd7 (diff) |
Fix precompiled-headers generation
It's now regenerated when util.hh changes, and is ordered after
config.h to fix a race.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/precompiled-headers.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/precompiled-headers.mk b/mk/precompiled-headers.mk index 779389b26..1a727ba1b 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) 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) clean-files += $(GCH) $(PCH) |