4851d5663c
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
12 lines
289 B
Makefile
12 lines
289 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
# only-linux
|
|
|
|
all:
|
|
$(RUSTC) foo.rs
|
|
$(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -o $(TMPDIR)/foo
|
|
$(call RUN,foo)
|
|
$(CC) foo.c -lfoo -L $(TMPDIR) -Wl,--gc-sections -lpthread -ldl -pie -fPIC -o $(TMPDIR)/foo
|
|
$(call RUN,foo)
|