diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-11-10 15:05:30 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-11-10 15:06:06 -0800 |
commit | b03fe86b0421dc362423822f28eeae1105627238 (patch) | |
tree | f0fdf0e8d4f98a2e0660376d5363573e5b474c09 /dev-libs | |
parent | ecm.eclass: Fix inverted usex handbook logic (diff) | |
download | gentoo-b03fe86b0421dc362423822f28eeae1105627238.tar.gz gentoo-b03fe86b0421dc362423822f28eeae1105627238.tar.bz2 gentoo-b03fe86b0421dc362423822f28eeae1105627238.zip |
dev-libs/openssl: Allow eapply_user to modify gentoo.config
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/openssl/openssl-1.1.1d-r2.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-libs/openssl/openssl-1.1.1d-r2.ebuild b/dev-libs/openssl/openssl-1.1.1d-r2.ebuild index 68fb0b3b5ad9..1b8d0ea6945d 100644 --- a/dev-libs/openssl/openssl-1.1.1d-r2.ebuild +++ b/dev-libs/openssl/openssl-1.1.1d-r2.ebuild @@ -75,6 +75,10 @@ pkg_setup() { } src_prepare() { + # allow openssl to be cross-compiled + cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die + chmod a+rx gentoo.config || die + if use bindist; then mv "${WORKDIR}"/bindist-patches/hobble-openssl "${WORKDIR}" || die bash "${WORKDIR}"/hobble-openssl || die @@ -142,10 +146,6 @@ src_prepare() { # and 'make depend' uses -Werror for added fun (#417795 again) [[ ${CC} == *clang* ]] && append-flags -Qunused-arguments - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die - chmod a+rx gentoo.config || die - append-flags -fno-strict-aliasing append-flags $(test-flags-CC -Wa,--noexecstack) append-cppflags -DOPENSSL_NO_BUF_FREELISTS |