https://bugzilla.redhat.com/show_bug.cgi?id=2154218



--- Comment #4 from Timothée Floure <[email protected]> ---

> The default flags seem to be added according to the build log:
> https://download.copr.fedorainfracloud.org/results/fed500/harec/fedora-
> rawhide-aarch64/05155824-harec/builder-live.log.gz

They are added to the %build section, while this specific configure script
evaluate them in the %prep section (they're written to .build/config.mk, which
is then used by the makefile in %build - environment set in %build is ignored).

> but maybe am missing the reason for adding: 
> 
> export CFLAGS='%{optflags}'
> export LDFLAGS='%{build_ldflags}'
> 
> The ldflags change in particular prevents the build from completing.

It builds on both F37 [1] and rawhide [2] - I'd rather use the current and
future Fedora build flags rather than manually pick -fPIE so that rpmlint is
happy.

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=95589739
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=95589451


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2154218
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to