mgorse left a comment (rpm-software-management/rpm#3674)

The SLE 16 beta is using gcc 13 by default, and I noticed that rpm isn't 
building there because it puts -fhardened in CFLAGS. Maybe we should be 
building with a newer gcc, but, regardless, the check is meant to only pass 
-fhardened when the compiler supports it. The foreach loop uses a variable 
called "found" with each check, so, if it isn't reset correctly in the loop, 
then cmake will reuse the value that it computed for the last check, so it 
never actually checks whether -fhardened is supported, for instance.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3674#issuecomment-2749108707
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3674/c2749108...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to