[PATCH] Build libiberty with -fPIC on Linux/MIPS hosts
Andreas Schwab
schwab@suse.de
Sun Apr 6 07:21:00 GMT 2008
Aurelien Jarno <aurelien@aurel32.net> writes:
> Index: bfd/configure.in
> ===================================================================
> RCS file: /cvs/src/src/bfd/configure.in,v
> retrieving revision 1.239
> diff -u -d -p -r1.239 configure.in
> --- bfd/configure.in 14 Feb 2008 15:20:26 -0000 1.239
> +++ bfd/configure.in 5 Apr 2008 19:42:47 -0000
> @@ -493,12 +493,6 @@ case "${host}" in
> # We borrow WIN32LIBADD so that the shared libbfd won't depend on
> # libiberty.a.
> case "${host}" in
> - mips*-*-linux*)
> - # Linux/MIPS uses PIC by default.
> - if test "$enable_shared" = "yes"; then
> - WIN32LIBADD="-L../libiberty -liberty"
> - fi
> - ;;
> *)
The case statement is pointless now since it only has a catch-all
pattern.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list