This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Build libiberty with -fPIC on Linux/MIPS hosts


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]