Skip to content

Commit

Permalink
test/use-extern-for-plugins: Don't assume multilib
Browse files Browse the repository at this point in the history
  • Loading branch information
smaeul committed Jan 22, 2022
1 parent 31800c2 commit 9b0f2f0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/test/run-make-fulldeps/use-extern-for-plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@
# ignore-openbsd
# ignore-sunos

HOST := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')
ifeq ($(findstring i686,$(HOST)),i686)
TARGET := $(subst i686,x86_64,$(HOST))
else
TARGET := $(subst x86_64,i686,$(HOST))
endif
TARGET := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')

all:
$(RUSTC) foo.rs -C extra-filename=-host
Expand Down

0 comments on commit 9b0f2f0

Please sign in to comment.