From 845a6dfc6669f41ee66723fa8e28b865ca8d6b56 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 18 Dec 2016 21:15:16 +0800 Subject: Makefile - Use $(CC) instead of gcc for compiling test --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3