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/ _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en