On Thu, Jan 12, 2023 at 6:38 PM Jakub Jelinek <ja...@redhat.com> wrote:
> But at least you don't need both -U_FORTIFY_SOURCE and
> -Wp,-U_FORTIFY_SOURCE, one of them is enough.  And the latter I think
> better gets through libtool and other tools; especially if you put it
> into a single -Wp, option together with the redefinition...

Uhmm, I could have sworn that I had needed -Wp,-U... for the -Wp-D...
and -U for the -D when I was fixing the test builds but you're right,
simply -Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 appears to work
for both -D_FORTIFY_SOURCE=2 as well as -Wp,-D_FORTIFY_SOURCE=2.  I'll
test this some more and post a PR for redhat-rpm-config.

Thanks,
Sid
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to