]> granicus.if.org Git - sudo/commit
Restrict default creation of PIE binaries (-fPIE and -pie) to Linux.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 May 2013 18:40:45 +0000 (14:40 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 May 2013 18:40:45 +0000 (14:40 -0400)
commit67d8af4be5c2ede9ba7591e6b7765f570bee2190
tree4de336a9edc2d5caa80218c44d3584dbdb331e6c
parent521e17b13b1f39739fcffe76134a02c0580f1de3
Restrict default creation of PIE binaries (-fPIE and -pie) to Linux.
OpenBSD also supports PIE but enables it by default so we don't
need to do anything.  This fixes problems on systems with a version
of GNU ld that accepts -pie but where the run-time linker doesn't
actually support PIE.  Also verify that a trivial PIE binary works
unless PIE is explicitly enabled.
INSTALL
NEWS
configure
configure.in
doc/TROUBLESHOOTING