Include -fPIE when we check for $LD -pie
configure's linker flag check also compiles a C++ program. g++ -pie informs both the compiler and linker, but clang++ -Wl,-pie is only a linker flag, and the linker will complain that the code hasn't been compiled as position-independent.
parent
8c16ca81
Please register or sign in to comment