Remove legacy library search paths
This commit is contained in:
parent
b569e9c657
commit
80829af872
@ -326,7 +326,7 @@ stage2/lib/$(FT_LIB): test/$(FT).rc $(SREQ2$(CFG_HOST_TRIPLE))
|
||||
|
||||
test/$(FT_DRIVER)$(X): test/$(FT_DRIVER).rs stage2/lib/$(FT_LIB) $(SREQ2$(CFG_HOST_TRIPLE))
|
||||
@$(call E, compile_and_link: $@)
|
||||
$(STAGE2) -o $@ $<
|
||||
$(STAGE2) -L stage2/lib -o $@ $<
|
||||
|
||||
test/$(FT_DRIVER).out: test/$(FT_DRIVER)$(X) $(SREQ2$(CFG_HOST_TRIPLE))
|
||||
$(Q)$(call CFG_RUN_TEST, $<)
|
||||
|
@ -379,9 +379,9 @@ fn build_session_options(binary: str, match: getopts::match)
|
||||
};
|
||||
|
||||
let library_search_paths = [
|
||||
fs::connect(sysroot, "lib"), // FIXME: legacy
|
||||
fs::connect(sysroot, "lib/rustc/" + target )];
|
||||
let lsp_vec = getopts::opt_strs(match, "L");
|
||||
// FIXME: These should probably go in front of the defaults
|
||||
for lsp: str in lsp_vec { library_search_paths += [lsp]; }
|
||||
|
||||
let cfg = parse_cfgspecs(getopts::opt_strs(match, "cfg"));
|
||||
|
Loading…
Reference in New Issue
Block a user