On 8/22/23 09:49, Thomas Huth wrote:
"-no-pie" is an option for linking, not for compiling, so we must put this into the lDFLAGS, not into CFLAGS. Without this change, the linking currently fails on Ubuntu 22.04 when compiling on a s390x host. Reported-by: Janosch Frank <frankja@xxxxxxxxxxxxx> Fixes: e489c25e ("Rework the common LDFLAGS to become more useful again") Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
Just tested it on my system, this fixes the compile problem.