Pass -pthread only for programs that need it

This commit is contained in:
Eelco Dolstra 2014-07-23 19:48:18 +02:00
parent ece531d105
commit bd91453bb1
3 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,6 @@ endif
dist-files += configure config.h.in nix.spec
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
GLOBAL_LDFLAGS += -pthread
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))