]> git.notmuchmail.org Git - notmuch/blobdiff - bindings/Makefile.local
ruby: improve compilation with CFLAGS
[notmuch] / bindings / Makefile.local
index bc960bbceabe592bb75522c25c20bbc2c9c70e10..3672e69ff76af07da05afc0a527355d2c0271941 100644 (file)
@@ -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
+       $(MAKE) -C $(dir)/ruby CFLAGS="$(CFLAGS) -pipe -fno-plt -fPIC"
 endif
 
 python-cffi-bindings: lib/$(LINKER_NAME)