summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-12-18 21:15:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-12-18 21:15:16 +0800
commit845a6dfc6669f41ee66723fa8e28b865ca8d6b56 (patch)
treee6440dc5fb5b8cf1bacf02e6ac4af2aeab477aa3
parent8d89e1338832d115ff430d30426f6e7223dc8f5a (diff)
downloadmrust-845a6dfc6669f41ee66723fa8e28b865ca8d6b56.tar.gz
Makefile - Use $(CC) instead of gcc for compiling test
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 86b3cfef..15d2931a 100644
--- a/Makefile
+++ b/Makefile
@@ -220,7 +220,7 @@ rust_tests-run-fail: $(call DEF_RUST_TESTS,run-fail)
output/rust/test_run-pass_hello: $(RUST_TESTS_DIR)run-pass/hello.rs output/libstd.hir $(BIN) output/liballoc_system.hir output/libpanic_abort.hir
@mkdir -p $(dir $@)
$(DBG) $(BIN) $< -o $@.c $(PIPECMD)
- gcc $@.c -pthread -g -o $@
+ $(CC) $@.c -pthread -g -o $@
TEST_ARGS_run-pass/cfgs-on-items := --cfg fooA --cfg fooB