%cmake macro

Jakub Bogusz qboosh at pld-linux.org
Fri Feb 4 19:22:58 CET 2011


On Thu, Feb 03, 2011 at 06:55:48PM +0100, Kacper Kornet wrote:
> On Thu, Feb 03, 2011 at 06:10:29PM +0100, Jakub Bogusz wrote:
> > On Tue, Feb 01, 2011 at 07:51:42PM +0100, Kacper Kornet wrote:
[...
> > > 3. Use or own build type like: cmake
> > > -DCMAKE_C_FLAGS_PLD=""${CFLAGS:-%{rpmcflags}}"
> 
> > + "-DNDEBUG" I think
> 
> Why not put it to %optflags?

It's rather cmake-specific (i.e. specific to packages which use
cmake as buildsystem).
Autotools or other build systems generally don't set it.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list