aboutsummaryrefslogtreecommitdiff
path: root/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-18 01:22:06 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-18 01:22:35 +0200
commit4ba6bc184c80dbab1b52710c57ba3b926cfbef66 (patch)
tree4b786c557649b66b2c2dbd27b1b5b0021ee35633 /local.mk
parent3d91bfc8f89aab67eb1e92575edf7aacb7f5db25 (diff)
Shut up clang warnings
Diffstat (limited to 'local.mk')
-rw-r--r--local.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/local.mk b/local.mk
index 25957d92a..160057ad2 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)))