aboutsummaryrefslogtreecommitdiff
path: root/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-12-05 20:26:24 +0100
committerEelco Dolstra <edolstra@gmail.com>2019-12-05 20:26:24 +0100
commit50d483a2c1c77bef1bab742eb8708626a61dc00e (patch)
tree87394dcdde71d4f84fbd7dffaac99f96e3d16b29 /local.mk
parent5e449b43ed31a518e13b21363ae3ba1994ce1cd7 (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 'local.mk')
-rw-r--r--local.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/local.mk b/local.mk
index 921ea91cd..01ca8a295 100644
--- a/local.mk
+++ b/local.mk
@@ -10,3 +10,5 @@ GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
+
+$(GCH) $(PCH): src/libutil/util.hh config.h