summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2021-01-15 19:15:33 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-01-15 19:15:50 +0800
commitf0291f214d5047ea88f9fe81d39665d393bbfe61 (patch)
tree7e8b92d7b0115bf5460fc8323a50a8945feed6d6 /sys-devel/llvm-roc
parentapp-admin/sysklogd: Don't build static libs (diff)
downloadgentoo-f0291f214d5047ea88f9fe81d39665d393bbfe61.tar.gz
gentoo-f0291f214d5047ea88f9fe81d39665d393bbfe61.tar.bz2
gentoo-f0291f214d5047ea88f9fe81d39665d393bbfe61.zip
sys-devel/llvm-roc: remove unnecessary slash strip.
Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r--sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild b/sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild
index 64b2abf582b3..046488f4cf2a 100644
--- a/sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild
+++ b/sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -42,7 +42,7 @@ src_prepare() {
ebegin "Use ${EPREFIX} as default sysroot"
cd lib/Driver/ToolChains >/dev/null || die
ebegin "Use dynamic linker from ${EPREFIX}"
- sed -i -e "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX%/}/\"@" Linux.cpp
+ sed -i -e "/LibDir.*Loader/s@return \"\/\"@return \"${EPREFIX}/\"@" Linux.cpp
eend $?
ebegin "Remove --sysroot call on ld for native toolchain"