https://bugzilla.redhat.com/show_bug.cgi?id=1943526
--- Comment #13 from Alessio <alciregi(a)posteo.net> ---
(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