mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-24 16:30:04 -07:00
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From a10b846716f923b3c5c28fc86e9b07103600ed52 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Holland <samuel@sholland.org>
|
|
Date: Sat, 6 Jul 2019 17:50:54 +0200
|
|
Subject: [PATCH 08/12] 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 838b1a271..94fa9f6d0 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.22.0
|
|
|