|
From: <sv...@va...> - 2005-07-05 13:44:56
|
Author: sewardj Date: 2005-07-05 14:44:21 +0100 (Tue, 05 Jul 2005) New Revision: 4108 Log: Disable PIE by default (sorry Tom), even on PIE-enabled platforms. It causes too much breakage. PIE builds are still possible, but you have to say --enable-pie to get them now. Modified: trunk/configure.in Modified: trunk/configure.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/configure.in 2005-07-05 00:59:08 UTC (rev 4107) +++ trunk/configure.in 2005-07-05 13:44:21 UTC (rev 4108) @@ -421,16 +421,7 @@ AC_CACHE_CHECK([for PIE support], vg_cv_pie, [AC_ARG_ENABLE(pie, [ --enable-pie platform supports= PIE linking], [vg_cv_pie=3D$enableval], - [safe_CFLAGS=3D$CFLAGS - CFLAGS=3D"$CFLAGS -fpie" - safe_LDFLAGS=3D$LDFLAGS - LDFLAGS=3D"$LDFLAGS -pie" - AC_TRY_LINK([int foo;], - [], - [vg_cv_pie=3Dyes], - [vg_cv_pie=3Dno]) - CFLAGS=3D$safe_CFLAGS - LDFLAGS=3D$safe_LDFLAGS])]) + [vg_cv_pie=3Dno] )]) if test "$vg_cv_pie" =3D yes; then AC_DEFINE([HAVE_PIE], 1, [can create position-independent executables]) PIE_AM_CFLAGS=3D"-fpie" |