summaryrefslogtreecommitdiffstats
path: root/tests/run-make/link-arg/Makefile
blob: 103527c3e14d9093a71784e6989d31c705fc6882 (plain)
1
2
3
4
5
include ../tools.mk
RUSTC_FLAGS = -C link-arg="-lfoo" -C link-arg="-lbar" --print link-args

all:
	$(RUSTC) $(RUSTC_FLAGS) empty.rs | $(CGREP) lfoo lbar