lib: undo the last PIE commit
commitdca6c883ea6219460efbe3dadde4b8b9cb12c845
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 27 Jan 2010 09:38:16 +0000 (27 12:38 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 27 Jan 2010 09:38:16 +0000 (27 12:38 +0300)
tree71352e214bd59277a50a43779bb2cbafbace6cc3
parent3f3dc2bd5f8cbde24cb581ed0aed0e372bfd556c
lib: undo the last PIE commit

Stephen:
A recent change breaks build Quagga on Debian Lenny with amd64 (but not
i386). Not sure whether this is cause by ld, gcc, or libtool; but
whatever it just won't work for a large number of users.

Mathias:
I would guess it's a problem of libtool because it adds "-fPIC -DPIC" to
the compiler flags but doesn't remove -fPIE. That wouldn't be a problem
if the compiler would ignore the -fPIE in favor to the latter -fPIC, but
obviously it does not. [...] Those objects were actually compiled with
-fPIC but also -fPIE which seems to confuse gcc.
lib/Makefile.am