Pass target to run-make issue-47551

This commit is contained in:
Ana Hobden 2024-06-12 13:16:28 -07:00
parent f9515fdd5a
commit f3dd4b16bc
No known key found for this signature in database

View File

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