diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 6fac0855e3..81b14c9de7 100644 --- a/configure.in +++ b/configure.in @@ -1618,18 +1618,8 @@ rm -f conftest*]) AC_SUBST(libc_cv_z_execstack) AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl -cat > conftest.c <<EOF -int foo; -main () { return 0;} -EOF -if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie - -o conftest conftest.c 1>&AS_MESSAGE_LOG_FD]) -then - libc_cv_fpie=yes -else - libc_cv_fpie=no -fi -rm -f conftest*]) +LIBC_TRY_CC_OPTION([-fpie], [libc_cv_fpie=yes], [libc_cv_fpie=no]) +]) AC_SUBST(libc_cv_fpie) |