bootstrap: add cmake_ld_flags to compilers check
Due to https://sourceware.org/bugzilla/show_bug.cgi?id=23856, I can’t
execute an executable compiled without -pie
. So I added -pie
to
LDFLAGS
, but the checks would still fail. I then realised that the
bootstrap script does not pass LDFLAGS when checking for compilers. This
patch fixes it.