commit:     97b9ba43cdb2a8da636cbc71dde9a5d6239b26a2
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 22:17:40 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 22:19:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b9ba43

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 <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

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)

Reply via email to