From 4ba6bc184c80dbab1b52710c57ba3b926cfbef66 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 18 Sep 2015 01:22:06 +0200 Subject: Shut up clang warnings --- local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'local.mk') diff --git a/local.mk b/local.mk index 25957d92a659..160057ad2625 100644 --- a/local.mk +++ b/local.mk @@ -6,7 +6,8 @@ dist-files += configure config.h.in nix.spec clean-files += Makefile.config -GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr +GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr \ + -Wno-unneeded-internal-declaration $(foreach i, config.h $(call rwildcard, src/lib*, *.hh) src/nix-store/serve-protocol.hh, \ $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644))) -- cgit 1.4.1