From f0291f214d5047ea88f9fe81d39665d393bbfe61 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Fri, 15 Jan 2021 19:15:33 +0800 Subject: sys-devel/llvm-roc: remove unnecessary slash strip. Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu --- sys-devel/llvm-roc/llvm-roc-4.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-devel/llvm-roc') 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" -- cgit v1.2.3-18-g5258