Issue: media-libs/svt-av1-1.4.1 overwrites CFLAGS/CXXFLAGS (HARDENED-SYSTEM). NOTE: (HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to the package likely has _F_S=2 hardcoded internally: that flag should be stripped so _F_S=3 can take effect from the gcc spec profile without conflict. Reproducible: Always
Created attachment 864584 [details] svt-av1 build.log FORTIFY_SOURCE redefined
additional info: this has been fixed in 1.5.0-r1 warning exists in 1.4.1 and 1.1.0