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 24, 2022
1 parent 3288050 commit 36ef1b4
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 36ef1b4

Please sign in to comment.