From 7d4de893323b3e1c8f7f5fc61323c7e5badd327c Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 16 Jan 2018 13:52:45 +1000 Subject: [PATCH] Ticket 49537 - allow asan to build with stable rustc Bug Description: Rustc has a policy of only allowing -Z flags on nightly - but there is an environment variable that allows unblocking these on stable releases. Fix Description: Add RUSTC_BOOTSTRAP=1 to Makefile.am https://pagure.io/389-ds-base/issue/49537 Author: wibrown Review by: ??? --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 82b1782..0ec12a3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1166,7 +1166,7 @@ libsds_la_LDFLAGS += -L$(abs_builddir)/.libs -lrsds libsds_la_DEPENDENCIES = librsds.so librsds.so: src/libsds/Cargo.toml src/libsds/sds/lib.rs src/libsds/sds/tqueue.rs - CARGO_TARGET_DIR=$(abs_top_builddir)/rs \ + CARGO_TARGET_DIR=$(abs_top_builddir)/rs RUSTC_BOOTSTRAP=1 \ cargo rustc $(CARGO_FLAGS) --verbose --manifest-path=$(srcdir)/src/libsds/Cargo.toml \ -- $(RUSTC_FLAGS) mkdir -p $(abs_builddir)/.libs -- 1.8.3.1