This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Build libiberty with -fPIC on Linux/MIPS hosts
- From: Andreas Schwab <schwab at suse dot de>
- To: Aurelien Jarno <aurelien at aurel32 dot net>
- Cc: binutils at sourceware dot org
- Date: Sun, 06 Apr 2008 09:21:20 +0200
- Subject: Re: [PATCH] Build libiberty with -fPIC on Linux/MIPS hosts
- References: <20080406011130.GA2135@volta.aurel32.net>
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."