summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-07-25 00:17:40 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-07-25 00:19:15 +0200
commit97b9ba43cdb2a8da636cbc71dde9a5d6239b26a2 (patch)
treecd469b14a938ec1ce8d2635609aba11676e09325 /sys-libs/glibc
parentgames-rpg/bass: Enable subtitles (diff)
downloadgentoo-97b9ba43cdb2a8da636cbc71dde9a5d6239b26a2.tar.gz
gentoo-97b9ba43cdb2a8da636cbc71dde9a5d6239b26a2.tar.bz2
gentoo-97b9ba43cdb2a8da636cbc71dde9a5d6239b26a2.zip
sys-libs/glibc: Add --enable-fortify-source configure parameter (new)
Without this, _FORTIFY_SOURCE now gets undefined. With it (but without an explicit value), glibc picks the maximum supported number (on current toolchain 3). Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 2b4e84c98db7..2d5a5b523933 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -986,6 +986,7 @@ glibc_do_configure() {
myconf+=(
--disable-werror
--enable-bind-now
+ --enable-fortify-source
--build=${CBUILD_OPT:-${CBUILD}}
--host=${CTARGET_OPT:-${CTARGET}}
$(use_enable profile)