commit:     a78d96a1f00a35bf44e820c7c402741a92d34468
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 22:40:15 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 24 22:40:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a78d96a1

sys-apps/acl: filter-flags for F_S=3

Bug: https://bugs.gentoo.org/847280
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/acl/acl-2.3.1-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/acl/acl-2.3.1-r1.ebuild b/sys-apps/acl/acl-2.3.1-r1.ebuild
index d08cc9068341..acc9d09b23fd 100644
--- a/sys-apps/acl/acl-2.3.1-r1.ebuild
+++ b/sys-apps/acl/acl-2.3.1-r1.ebuild
@@ -45,7 +45,8 @@ multilib_src_configure() {
        if is-flagq '-O[23]' || is-flagq '-Ofast' ; then
                # We can't unconditionally do this b/c we fortify needs
                # some level of optimisation.
-               append-flags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
+               filter-flags -D_FORTIFY_SOURCE=3
+               append-cppflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
        fi
 
        local myeconfargs=(

Reply via email to