From: Khem Raj Date: Mon, 14 Aug 2023 04:59:18 +0000 (-0700) Subject: glibc: Enable fortify sources by defaults X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f71d9d87e638ebeea5be1a64ad98a9460ee3d1f2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glibc: Enable fortify sources by defaults Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc_2.38.bb b/meta/recipes-core/glibc/glibc_2.38.bb index 851aa612b1e..94bff8f4486 100644 --- a/meta/recipes-core/glibc/glibc_2.38.bb +++ b/meta/recipes-core/glibc/glibc_2.38.bb @@ -76,6 +76,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --disable-crypt \ --with-default-link \ --disable-werror \ + --enable-fortify-source \ ${@bb.utils.contains_any('SELECTED_OPTIMIZATION', '-O0 -Og', '--disable-werror', '', d)} \ ${GLIBCPIE} \ ${GLIBC_EXTRA_OECONF}"