Skip to content

Commit 0ba6e46

Browse files
committed
test/use-extern-for-plugins: Don't assume multilib
1 parent 5b9b753 commit 0ba6e46

File tree

1 file changed

+1
-6
lines changed
  • tests/run-make/use-extern-for-plugins

1 file changed

+1
-6
lines changed

Diff for: tests/run-make/use-extern-for-plugins/Makefile

+1-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@ include ../tools.mk
44
# ignore-openbsd
55
# ignore-solaris
66

7-
HOST := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')
8-
ifeq ($(findstring i686,$(HOST)),i686)
9-
TARGET := $(subst i686,x86_64,$(HOST))
10-
else
11-
TARGET := $(subst x86_64,i686,$(HOST))
12-
endif
7+
TARGET := $(shell $(RUSTC) -vV | grep 'host:' | sed 's/host: //')
138

149
all:
1510
$(RUSTC) foo.rs -C extra-filename=-host

0 commit comments

Comments
 (0)