diff options
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild b/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild index 6626df4ee056..6dc4f6a23e2c 100644 --- a/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild +++ b/sys-devel/llvm-roc/llvm-roc-5.0.2.ebuild @@ -30,10 +30,11 @@ PATCHES=( CMAKE_BUILD_TYPE=RelWithDebInfo src_prepare() { - cd "${WORKDIR}/llvm-project-rocm-${PV}" || die + pushd "${WORKDIR}/llvm-project-rocm-${PV}" || die eapply "${FILESDIR}/${PN}-4.0.0-remove-isystem-usr-include.patch" eapply "${FILESDIR}/${PN}-5.0.0-hip-location.patch" eapply "${FILESDIR}/${PN}-5.0.0-add_GNU-stack.patch" + popd || die if [[ -n ${EPREFIX} ]]; then pushd "${S}"/../clang >/dev/null || die |