SPECS: lvm2.spec - fixed opt patch, changed the way of hacking CFL...

Jakub Bogusz qboosh w pld-linux.org
Czw, 6 Maj 2004, 19:28:34 CEST


On Thu, May 06, 2004 at 07:24:51PM +0200, qboosh wrote:
> Author: qboosh                       Date: Thu May  6 17:24:51 2004 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - fixed opt patch, changed the way of hacking CFLAGS to preserve -fPIC

> +CFLAGS="%{rpmcflags} -DCONFIG_DM_IOCTL_V4=1"
>  %configure \
> -        CC="%{_target_cpu}-uclibc-gcc -Os" \
> -        --with-interface=ioctl \
> -        --with-kernel-dir=nothing
> -%{__make} \
> -	CFLAGS="-DCONFIG_DM_IOCTL_V4=1 "
> +        %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc -Os"} \
> +        --with-interface=ioctl
> +unset CFLAGS

Tylko czy ta zabawa z CONFIG_DM_IOCTL_V4 jest jeszcze potrzebna?
Nie ma czegoś takiego w źródłach LVM2.


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



Więcej informacji o liście dyskusyjnej pld-devel-pl