mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
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.
13 lines
265 B
Makefile
13 lines
265 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
# Apparently older versions of GCC segfault if -g is passed...
|
|
CC := $(CC:-g=)
|
|
|
|
all:
|
|
$(RUSTC) foo.rs -C lto
|
|
$(CC) bar.c $(call STATICLIB,foo) \
|
|
$(call OUT_EXE,bar) \
|
|
$(EXTRACFLAGS) $(EXTRACXXFLAGS)
|
|
$(call RUN,bar)
|