On Sun, Mar 27, 2005 at 10:19:53PM +0200, sparky wrote:
> Author: sparky                       Date: Sun Mar 27 20:19:53 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - attempt to make it work (in future) on amd64

> @@ -29,6 +30,13 @@
>  %define              _sbindir        /sbin
>  %define              _bindir         %{_sbindir}
>  %define              _libdir         /boot
> +%ifarch amd64
> +%define              amd64
> +%define              _host   i386-pld-linux-gnu
> +%define              _build  i386-pld-linux-gnu
> +%define              _target i386-pld-linux-gnu
> +%endif
> +
>  
>  %description
>  GRUB is a GPLed bootloader intended to unify bootloading across x86
> @@ -91,8 +99,12 @@
>  #done
>  CFLAGS="-Os %{?debug:-g}" ; export CFLAGS
>  %configure \
> -     BUILD_CC="%{__cc} -I%{_includedir}/ncurses" \
> +     BUILD_CC="%{__cc} %{?amd64:-m32} -I%{_includedir}/ncurses" \
> +%ifarch amd64
> +     LD="%{__ld} -melf_i386" \
> +%endif

I czym to ma się różnić od pakietu .i386?


-- 
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/

_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym