summaryrefslogtreecommitdiff
path: root/bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-07-30 09:27:55 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-10-17 00:58:44 -0500
commit29e11a1231ed159572aa4e6c64fd9cdac97f7c03 (patch)
tree8abd711b96829786858c97afb381f16992d31c58 /bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch
parent595bc02f3080bbf44fa78068e5b56e13821ab6a6 (diff)
downloadpackages-29e11a1231ed159572aa4e6c64fd9cdac97f7c03.tar.gz
packages-29e11a1231ed159572aa4e6c64fd9cdac97f7c03.tar.bz2
packages-29e11a1231ed159572aa4e6c64fd9cdac97f7c03.tar.xz
packages-29e11a1231ed159572aa4e6c64fd9cdac97f7c03.zip
bootstrap/rust-1.{61-79}: New package
Diffstat (limited to 'bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch')
-rw-r--r--bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch b/bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch
new file mode 100644
index 000000000..e3523d54d
--- /dev/null
+++ b/bootstrap/rust-1.71/0009-test-use-extern-for-plugins-Don-t-assume-multilib.patch
@@ -0,0 +1,27 @@
+From 1ce31f881d28900bb7f081599d4b0376f38097d2 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/use-extern-for-plugins/Makefile | 7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+diff --git a/tests/run-make/use-extern-for-plugins/Makefile b/tests/run-make/use-extern-for-plugins/Makefile
+index b8ec7e8dcda90..be452b560035d 100644
+--- a/tests/run-make/use-extern-for-plugins/Makefile
++++ b/tests/run-make/use-extern-for-plugins/Makefile
+@@ -4,12 +4,7 @@ include ../tools.mk
+ # ignore-openbsd
+ # ignore-solaris
+
+-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