https://bugzilla.redhat.com/show_bug.cgi?id=1943526 --- Comment #13 from Alessio <alciregi@xxxxxxxxxx> --- (In reply to Alessio from comment #12) > (In reply to Robert-André Mauchin 🐧 from comment #10) > > Use LDFLAGS="%build_ldflags -fPIE" --disable-static > > Yes. Right. > But if I use this, checks fails with: > > /usr/bin/ld: active.o: relocation R_X86_64_32 against `.rodata' can not be > used when making a PIE object; recompile with -fPIE Ah. This is because in tests/Makefile the CFLAGS variable is "hard coded". tests/Makefile.am contains CFLAGS = -W -Wall -Wextra -Wno-unused-result -Wno-unused-parameter So, after running autogen, tests/Makefile.in will contain such stuff, instead of "CFLAGS = @CFLAGS@" -- 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 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure