aboutsummaryrefslogtreecommitdiff
path: root/mk/tests.mk
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-05-08 21:10:04 -0700
committerPatrick Walton <[email protected]>2011-05-08 21:10:43 -0700
commit269550f6736c911e28ec9f01e88d9afeb47f12ec (patch)
tree2b0298d7d807d5786a900791acd45fe1f87c0f65 /mk/tests.mk
parentrt: Consistently refer to structs as structs and classes as classes. Clang co... (diff)
downloadrust-269550f6736c911e28ec9f01e88d9afeb47f12ec.tar.xz
rust-269550f6736c911e28ec9f01e88d9afeb47f12ec.zip
build: Use clang to compile the runtime if available
Diffstat (limited to 'mk/tests.mk')
-rw-r--r--mk/tests.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/tests.mk b/mk/tests.mk
index 42eb0594..48af58c1 100644
--- a/mk/tests.mk
+++ b/mk/tests.mk
@@ -185,7 +185,7 @@ compile-check: tidy \
%.stage0$(X): %.stage0.o $(SREQ0)
@$(call E, link [gcc]: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage1/glue.o -o $@ $< \
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage1/glue.o -o $@ $< \
-Lstage1 -Lrt -lrustrt -lstd -lm
@# dsymutil sometimes fails or prints a warning, but the
@# program still runs. Since it simplifies debugging other
@@ -194,7 +194,7 @@ compile-check: tidy \
%.stage1$(X): %.stage1.o $(SREQ1)
@$(call E, link [gcc]: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage2/glue.o -o $@ $< \
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage2/glue.o -o $@ $< \
-Lstage2 -Lrt -lrustrt -lstd -lm
@# dsymutil sometimes fails or prints a warning, but the
@# program still runs. Since it simplifies debugging other
@@ -203,7 +203,7 @@ compile-check: tidy \
%.stage2$(X): %.stage2.o $(SREQ2)
@$(call E, link [gcc]: $@)
- $(Q)gcc $(CFG_GCC_CFLAGS) stage3/glue.o -o $@ $< \
+ $(Q)gcc $(CFG_GCCISH_CFLAGS) stage3/glue.o -o $@ $< \
-Lstage3 -Lrt -lrustrt -lstd -lm
@# dsymutil sometimes fails or prints a warning, but the
@# program still runs. Since it simplifies debugging other