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
236 B
Makefile
12 lines
236 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all: foo
|
|
$(call RUN,foo) | $(CGREP) -v unreachable
|
|
|
|
foo: foo.rs $(call NATIVE_STATICLIB,foo)
|
|
$(RUSTC) $< -lfoo $(EXTRARSCXXFLAGS)
|
|
|
|
$(TMPDIR)/libfoo.o: foo.cpp
|
|
$(call COMPILE_OBJ_CXX,$@,$<)
|