From 29d7cb88335845ce22e019d091ed1332af531650 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Fri, 18 Mar 2011 18:30:57 -0700 Subject: [PATCH] Run rustc stages using proper LD_LIBRARY_PATH. --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index eddeecc8484..b273884f285 100644 --- a/Makefile.in +++ b/Makefile.in @@ -105,7 +105,7 @@ ifdef CFG_UNIXY CFG_VALGRIND += --leak-check=full \ --error-exitcode=1 \ --quiet --vex-iropt-level=0 \ - --suppressions=$(S)src/etc/x86.supp + --suppressions=etc/x86.supp endif endif @@ -174,8 +174,8 @@ VPATH := $(S)doc $(S)src # Compilers we build, we now know how to run. BOOT := $(Q)OCAMLRUNPARAM="b1" boot/rustboot$(X) $(CFG_BOOT_FLAGS) -L stage0 -STAGE0 := $(Q)stage0/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage1 -STAGE1 := $(Q)stage1/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage2 +STAGE0 := $(Q)$(CFG_RUN_PROGRAM) stage0/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage1 +STAGE1 := $(Q)$(CFG_RUN_PROGRAM) stage1/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage2 # "Source" files we generate in builddir along the way. GENERATED := boot/fe/lexer.ml boot/version.ml