From c9c60884afdfe24eceb42a59b83240e4b04a4e13 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 24 Sep 2003 08:33:01 +0000 Subject: Update. 2003-09-24 Ulrich Drepper * configure.in: Check for -fpie and -pie compiler options. * config.make.in (have-fpie): Define. * sysdeps/unix/sysv/linux/alpha/sys/sysmacros.h: Removed. * sysdeps/unix/sysv/linux/sparc/sys/sysmacros.h: Removed. --- configure.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index c3f4adb89d..50e18eb09a 100644 --- a/configure.in +++ b/configure.in @@ -1382,6 +1382,21 @@ EOF fi rm -f conftest*]) AC_SUBST(libc_cv_z_execstack) + + AC_CACHE_CHECK(for -fpie, libc_cv_fpie, [dnl + cat > conftest.c <&AS_MESSAGE_LOG_FD]) + then + libc_cv_fpie=yes + else + libc_cv_fpie=no + fi + rm -f conftest*]) + + AC_SUBST(libc_cv_fpie) fi if test $elf != yes; then -- cgit v1.2.3