about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-10 11:31:43 -0800
committerbors <bors@rust-lang.org>2014-02-10 11:31:43 -0800
commit1f245cc7ea72bc8eeddd12cc9f8e753f3ca71910 (patch)
tree1321ece0cb5312d9f8d41212aef7e5e0a11c9bbb
parent838c62bb288d0fa6b395a9807ad8a519406e48c3 (diff)
parent1b969e11881eab81b9364fc4304dfdfcd2da1128 (diff)
auto merge of #12151 : gifnksm/rust/disable-rpath, r=pnkfelix
This fixes the compilation failure with `./configure --disable-rpath`
-rw-r--r--Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 49e02a63b7d..2d4c5e858a7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -126,9 +126,9 @@ ifdef TRACE
 endif
 ifdef CFG_DISABLE_RPATH
 # NOTE: make this CFG_RUSTC_FLAGS after stage0 snapshot
-RUSTFLAGS_STAGE1 += --no-rpath
-RUSTFLAGS_STAGE2 += --no-rpath
-RUSTFLAGS_STAGE3 += --no-rpath
+RUSTFLAGS_STAGE1 += -C no-rpath
+RUSTFLAGS_STAGE2 += -C no-rpath
+RUSTFLAGS_STAGE3 += -C no-rpath
 endif
 
 # The executables crated during this compilation process have no need to include