From bca0afb943da714c93b4c8621c0ed727ae86d0e2 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Fri, 6 Dec 2019 15:57:23 +0100
Subject: [PATCH] Shut up about deprecated functions

---
 local.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local.mk b/local.mk
index 01ca8a295..55f85a044 100644
--- a/local.mk
+++ b/local.mk
@@ -6,7 +6,7 @@ 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/libmain -I src/libexpr -I src/nix
+GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -I src/nix -Wno-deprecated-declarations
 
 $(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
   $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
-- 
GitLab