summaryrefslogtreecommitdiff
path: root/bootstrap/rust-1.68/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch
blob: 6180c1ef93c9ebd0e617ee64b248d39fff00b85c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From a1e12bd7eb4e25fc1b0ccdd70f051db925298260 Mon Sep 17 00:00:00 2001
From: Samuel Holland <samuel@sholland.org>
Date: Sat, 6 Oct 2018 04:01:48 +0000
Subject: [PATCH 09/13] test/use-extern-for-plugins: Don't assume multilib

---
 tests/run-make-fulldeps/use-extern-for-plugins/Makefile | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/tests/run-make-fulldeps/use-extern-for-plugins/Makefile b/tests/run-make-fulldeps/use-extern-for-plugins/Makefile
index 6ae53afad207b..b1b7b163b91e4 100644
--- a/tests/run-make-fulldeps/use-extern-for-plugins/Makefile
+++ b/tests/run-make-fulldeps/use-extern-for-plugins/Makefile
@@ -4,12 +4,7 @@ include ../tools.mk
 # 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