diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-30 09:27:55 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-09 15:21:38 -0500 |
commit | e50c8b2647ce482654ab0e4f77a88893b497ed37 (patch) | |
tree | eb0c442d10d190933dac120b525e6779e44ea2bd /bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch | |
parent | ecce2855f3220b8b9b39c58ef05c97643fd62f1b (diff) | |
download | packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.gz packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.bz2 packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.tar.xz packages-e50c8b2647ce482654ab0e4f77a88893b497ed37.zip |
bootstrap/rust-1.{61-79}: New package
Diffstat (limited to 'bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch')
-rw-r--r-- | bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch b/bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch new file mode 100644 index 000000000..e55c1bffc --- /dev/null +++ b/bootstrap/rust-1.63/0010-test-use-extern-for-plugins-Don-t-assume-multilib.patch @@ -0,0 +1,30 @@ +From 5f08947cef0556245748e5a3d0b9d1da926939ff Mon Sep 17 00:00:00 2001 +From: Samuel Holland <samuel@sholland.org> +Date: Sat, 6 Oct 2018 04:01:48 +0000 +Subject: [PATCH 10/14] test/use-extern-for-plugins: Don't assume multilib + +--- + src/test/run-make-fulldeps/use-extern-for-plugins/Makefile | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/src/test/run-make-fulldeps/use-extern-for-plugins/Makefile b/src/test/run-make-fulldeps/use-extern-for-plugins/Makefile +index 838b1a2719b..94fa9f6d067 100644 +--- a/src/test/run-make-fulldeps/use-extern-for-plugins/Makefile ++++ b/src/test/run-make-fulldeps/use-extern-for-plugins/Makefile +@@ -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 +-- +2.35.1 + |