Skip to content

Commit

Permalink
auto merge of #19133 : nodakai/rust/run-make-tests-missing-extracflag…
Browse files Browse the repository at this point in the history
…s, r=alexcrichton

Missing `$(EXTRACFLAGS)` resutled in compile failures.
  • Loading branch information
bors committed Nov 22, 2014
2 parents 4389ee3 + 102b1a5 commit caec7b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/run-make/bootstrap-from-c-with-native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TARGET_RPATH_DIR:=$(TARGET_RPATH_DIR):$(TMPDIR)

all:
$(RUSTC) lib.rs
$(CC) main.c -o $(call RUN_BINFILE,main) $(call RPATH_LINK_SEARCH,$(HOST_LIB_DIR)) -lboot
$(CC) main.c -o $(call RUN_BINFILE,main) $(call RPATH_LINK_SEARCH,$(HOST_LIB_DIR)) -lboot $(EXTRACFLAGS)
$(call RUN,main)
$(call REMOVE_DYLIBS,boot)
$(call FAIL,main)
2 changes: 1 addition & 1 deletion src/test/run-make/c-link-to-rust-dylib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HOST_LIB_DIR=$(TMPDIR)/../../../stage$(RUST_BUILD_STAGE)/lib

all:
$(RUSTC) foo.rs
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(call RPATH_LINK_SEARCH,$(HOST_LIB_DIR)) -Wl,-rpath,$(TMPDIR)
$(CC) bar.c -lfoo -o $(call RUN_BINFILE,bar) $(call RPATH_LINK_SEARCH,$(HOST_LIB_DIR)) -Wl,-rpath,$(TMPDIR) $(EXTRACFLAGS)
$(call RUN,bar)
$(call REMOVE_DYLIBS,foo)
$(call FAIL,bar)

0 comments on commit caec7b0

Please sign in to comment.