diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-03-30 14:29:29 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-03-30 14:39:33 +0200 |
commit | 2c692a3b144523bca68dd6de618124ba6c9bb332 (patch) | |
tree | 2aa945ccc2a0b0ba6aa7413ca3874c53feb6094f /local.mk | |
parent | e0a0ae0467fa8cdcc542f593b9d94283f04508ff (diff) |
Remove global -I flags
Diffstat (limited to 'local.mk')
-rw-r--r-- | local.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,9 +6,11 @@ dist-files += configure config.h.in perl/configure clean-files += Makefile.config -GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libfetchers -I src/libmain -I src/libexpr -I src/nix -Wno-deprecated-declarations +GLOBAL_CXXFLAGS += -Wno-deprecated-declarations $(foreach i, config.h $(wildcard src/lib*/*.hh), \ $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644))) $(GCH) $(PCH): src/libutil/util.hh config.h + +GCH_CXXFLAGS = -I src/libutil |