[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] New RPMS (curl, libjpeg, hermes, libiconv, libfreetype2)



On Mon, 21 Feb 2011 20:37:34 , "m0n0" <ole@monochrom.net> wrote:
>
> Am Mo, 21.02.2011, 20:31 schrieb m0n0:
> >
> > Am Mo, 21.02.2011, 19:52 schrieb Peter Slegg:
> >
> >> Can someone tell me how to do multi arch libs ? Also I should have built
> >> the dev lib. libxml2 may be useful for Netsurf too.
>
> Sorry, forgot to answer the question...
> Multiarch rpms are kind of a hack currently. you can look at
> http://sparemint.org/sparemint/SRPMS/zlib-1.2.5-1.src.rpm for example, to
> see how it is done...
>

%build
# Coldfire
CFLAGS="-mcpu=5475 ${RPM_OPT_FLAGS}" \
./configure \
        --prefix=%{_prefix}
make
mv libz.a libzCF.a

# 68020-60
CFLAGS="-m68020-60 ${RPM_OPT_FLAGS}" \
./configure \
        --prefix=%{_prefix}
make
mv libz.a libz020.a

# 68000
CFLAGS="${RPM_OPT_FLAGS}" \
./configure \
        --prefix=%{_prefix}
make


So does the multi-arch "hack" only apply to the .a files ?

Regards,

Peter