SPECS: cmake.spec - even more :/

Arkadiusz Miskiewicz arekm at maven.pl
Thu Jul 31 09:07:04 CEST 2008


On Thursday 31 July 2008, Elan Ruusamäe wrote:
> On Thursday 31 July 2008 07:45, qboosh wrote:
> > +# - rpmldflags/rpmcppflags are not passed through %%cmake macro at all
> > +#   (is there any standard way???)
>
> there isn't (this has gone over devel-en list already at least twice).
>
> however i've tried to use in few places our standard, ie the ones we use in
> autoconf:
>
> # override __cmake to add -j4 in your ~/.rpmmacros for parallel make
> %__cmake    /usr/bin/cmake
> %cmake { \
> CC="%{__cc}" \
> CXX="%{__cxx}" \
> CFLAGS="%{rpmcflags}" \
> CXXFLAGS="%{rpmcxxflags}" \
> %{__cmake} \
> }

There is CPPFLAGS (%rpmcppflags), too (in Th).

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/


More information about the pld-devel-en mailing list