]> git.ipfire.org Git - thirdparty/lldpd.git/commit
build: don't enable PIE by default
authorVincent Bernat <vincent@bernat.im>
Sun, 13 Dec 2015 08:46:10 +0000 (09:46 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 13 Dec 2015 08:46:10 +0000 (09:46 +0100)
commita8add7421e674d5ca72f7759fba1201e2ff16b6f
tree80866fdd2555be3f58d755885c7800f08a593f2a
parente620ba6baf0cfe9767e289f92c487c5e2978c5dd
build: don't enable PIE by default

PIE needs support from compiler, linker and dynamic linker. Even
when everything seems in place, it can be unreliable. On many ARM
toolchains, compiler and linker support is here but the dynamic
linker doesn't know how to handle that. It is also reported that
NetBSD/ppc or Solaris/x86 doesn't work correctly. Therefore, it is
too difficult to detect proper support at configure time (notably
with cross-compilation). Some OS (like OpenBSD, or Gentoo) come
with automatic PIE support. No need to do anyhing special for
them.

People wanting to enable PIE should now use --enable-pie.
NEWS
configure.ac
debian/rules
redhat/lldpd.spec