summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2018-01-14 08:59:57 +0800
committerJohn Hodge <tpg@ucc.asn.au>2018-01-14 08:59:57 +0800
commitad9ee752049e9e853adc634df66700dae573f8b8 (patch)
tree6d116e32d585e875d0ae70d451d2f503a9d02c64 /Makefile
parent8a2d3afc5a9eb6092420dd7164f3e8a0a3e3950b (diff)
downloadmrust-ad9ee752049e9e853adc634df66700dae573f8b8.tar.gz
Makefile - Remove useless library directory
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 699ef340..0cd36b1e 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ output/local_test/%_out.txt: output/local_test/%
./$< > $@
output/local_test/%: samples/test/%.rs $(TEST_DEPS)
mkdir -p $(dir $@)
- $(BIN) -L output/libs -g $< -o $@ $(RUST_FLAGS) --test $(PIPECMD)
+ $(BIN) -g $< -o $@ $(RUST_FLAGS) --test $(PIPECMD)
#
# RUSTC TESTS
@@ -249,14 +249,14 @@ output/lib%-test: $(RUSTCSRC)src/lib%/lib.rs $(RUSTC_SRC_DL) $(TEST_DEPS)
@echo "--- [MRUSTC] --test -o $@"
@mkdir -p output/
@rm -f $@
- $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ -L output/libs $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD)
+ $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD)
# # HACK: Work around gdb returning success even if the program crashed
@test -e $@
output/lib%-test: $(RUSTCSRC)src/lib%/src/lib.rs $(RUSTC_SRC_DL) $(TEST_DEPS)
@echo "--- [MRUSTC] $@"
@mkdir -p output/
@rm -f $@
- $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ -L output/libs $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD)
+ $(DBG) $(ENV_$@) $(BIN) --test $< -o $@ $(RUST_FLAGS) $(ARGS_$@) $(PIPECMD)
# # HACK: Work around gdb returning success even if the program crashed
@test -e $@
output/%_out.txt: output/%