Don't build static bins with PIE, only for dynamic.

This commit is contained in:
Juan RP
2011-01-19 16:52:55 +01:00
parent 8dc6926664
commit fcbe7f113b
2 changed files with 3 additions and 5 deletions

4
configure vendored
View File

@@ -203,9 +203,7 @@ check_compiler_flag()
local var="$3"
local rv=0
if [ -z "$var" ]; then
var="CFLAGS"
fi
[ -z "$var" ] && var="CFLAGS"
printf "Checking if $CC supports -${mode}${flag} ... "
cat <<EOF >_ccflag.c