Description of problem: There is now a canonical way to disable fortification, see "Fortification level" in the build flags guide: https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/rawhide/f/buildflags.md#source-fortification This way, one doesn't need to mess with RPM_OPT_FLAGS anymore to do this.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
fixed: @@ -311,9 +311,6 @@ echo '#!/bin/sh -x' >> configure echo 'exec ../$(basename $0) "$@"' >> configure chmod a+x configure -# FIXME: Warnings should be fixed, not suppressed: -export RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wp,-D_FORTIFY_SOURCE=2 /} - %configure \ CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS"