Skip to content

Commit f3dd4b1

Browse files
committed
Pass target to run-make issue-47551
1 parent f9515fd commit f3dd4b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/run-make/issue-47551/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
include ../tools.mk
55

66
all:
7-
$(RUSTC) eh_frame-terminator.rs
7+
# --target $(TARGET) ensures the right gcc flags are used for cross compilation
8+
$(RUSTC) --target $(TARGET) eh_frame-terminator.rs
89
$(call RUN,eh_frame-terminator) | $(CGREP) '1122334455667788'
910
objdump --dwarf=frames $(TMPDIR)/eh_frame-terminator | $(CGREP) 'ZERO terminator'

0 commit comments

Comments
 (0)