[packages/fltk] - force ld.bfd

Elan Ruusamäe glen at pld-linux.org
Thu May 9 21:32:24 CEST 2013


On 09.05.2013 21:16, qboosh wrote:
> commit 8ac83007f058950b37664d253f9241bc0a19edba
> Author: Jakub Bogusz <qboosh at pld-linux.org>
> Date:   Thu May 9 20:16:10 2013 +0200
>
>      - force ld.bfd
>
>   fltk.spec | 6 ++++++
>   1 file changed, 6 insertions(+)
> ---
> diff --git a/fltk.spec b/fltk.spec
> index 2b909e8..a3ac967 100644
> --- a/fltk.spec
> +++ b/fltk.spec
> @@ -157,6 +157,12 @@ Gry FLTK: Atak Klocków!, Warcaby, Sudoku.
>   %patch3 -p1
>   
>   %build
> +# gold doesn't understand -l:path/to/library.so
> +if [ -x /usr/bin/ld.bfd ]; then
> +	install -d ld-dir
> +	ln -sf /usr/bin/ld.bfd ld-dir/ld
> +	export PATH=$(pwd)/ld-dir:$PATH
> +fi
so -fuse-ld=bfd gcc option works nowhere? our gcc is patched for that -f 
option


-- 
glen



More information about the pld-devel-en mailing list