summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2021-02-14 10:49:50 -0600
committerJory Pratt <anarchy@gentoo.org>2021-02-14 10:49:50 -0600
commitb54206c6c1d49820f0a65c0665168bf2a6fa46f0 (patch)
treeab36ca26cb6dc82f347bb777cf3c8c0dbdfdf4ab /sys-libs/musl/musl-9999.ebuild
parentsci-libs/plplot: Call setup-wxwidgets (diff)
downloadgentoo-b54206c6c1d49820f0a65c0665168bf2a6fa46f0.tar.gz
gentoo-b54206c6c1d49820f0a65c0665168bf2a6fa46f0.tar.bz2
gentoo-b54206c6c1d49820f0a65c0665168bf2a6fa46f0.zip
sys-libs/musl: add support for static libssp_nonshared
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r--sys-libs/musl/musl-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index bbe899d8ce1b..b6a413c23632 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -97,6 +97,9 @@ src_compile() {
LDFLAGS="${LDFLAGS}" \
VPATH="${WORKDIR}/misc"
fi
+
+ $(tc-getCC) ${CFLAGS} -c -o libssp_nonshared.o "${FILESDIR}"/stack_chk_fail_local.c || die
+ $(tc-getAR) -rcs libssp_nonshared.a libssp_nonshared.o || die
}
src_install() {