On Sun, Oct 17, 2021 at 5:27 PM Matthew Miller <mat...@fedoraproject.org> wrote:
>
> Got this failure, which includes:
> https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-pipeline/job/master/49313/testReport/(root)/tests/_annocheck/
>
> Hardened: /usr/bin/icebreaker: FAIL: pie test because not built with 
> '-Wl,-pie' (gcc/clang) or '-buildmode pie' (go)
>
> Now, my makefile is a horrific hand-built thing from literally twenty years
> ago, and it's probably not up to, like, best pratices of THAT time, let
> alone now. But I do pass OPTIMIZE="$RPM_OPT_FLAGS" to %make_build in the
> spec file.... That doesn't seem to include anything about PIE, though. What
> should I do to make this right?
>

You should probably pass in %build_cflags and %build_ldflags into your
makefile. That should fix it.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
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 on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to