]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix PIE detection for older gcc's 2116/head
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 24 Jan 2015 17:47:23 +0000 (18:47 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 24 Jan 2015 17:50:29 +0000 (18:50 +0100)
commitc10dd999275eb99b43ae99444a8fd35344fd8bdd
treeaa7bdd008d9ba38b258344859bb502df437b5768
parentd6baee3fbf82eadcca7cfab5149d654ca19dc9d7
Fix PIE detection for older gcc's

At least on FreeBSD, gcc42 can't create
position-independent executables when threads are involved.

Expand our configure check to use some pthread code so it fails
instead of succeeds.

Fixes #2037 and probably #2055
pdns/configure-recursor