I am running Ubuntu GNU/Linux 22.04 and trying to run the ./install.sh linux script. I get the error
/usr/bin/ld: stage4/generate_c/libstage4_c.a(stage4.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
when I try running the script. I have tried editing the Makefile in the stage4/generate_c/ folder to include -no-pie, -fPIC, and -fPIE, but the Makefile appears to be regenerated with the g++ command without these flags whenever I run the ./install.sh linux command.
May anyone assist?