[PATCH 1/4] bindings/ruby: unexport CFLAGS when building

Subject: [PATCH 1/4] bindings/ruby: unexport CFLAGS when building

Date: Sun, 16 May 2021 11:10:12 -0300

To: notmuch@notmuchmail.org

Cc: David Bremner

From: David Bremner


This prevents breaking the ruby build when passing CFLAGS to other
parts of the build.
---
 bindings/Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bindings/Makefile.local b/bindings/Makefile.local
index bc960bbc..8e3cd051 100644
--- a/bindings/Makefile.local
+++ b/bindings/Makefile.local
@@ -10,7 +10,7 @@ ifeq ($(HAVE_RUBY_DEV),1)
 		LIBNOTMUCH="../../lib/$(LINKER_NAME)" \
 		NOTMUCH_SRCDIR='$(NOTMUCH_SRCDIR)' \
 		$(RUBY) extconf.rb --vendor
-	$(MAKE) -C $(dir)/ruby
+	env -u CFLAGS $(MAKE) -C $(dir)/ruby
 endif
 
 python-cffi-bindings: lib/$(LINKER_NAME)
-- 
2.30.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: