On Fri, Feb 04, 2011 at 07:22:58PM +0100, Jakub Bogusz wrote:
> 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. I don't think it is specific only for packages that use cmake. Function assert depends on it (see man 2 assert). For example audacious uses assert, but not cmake. But some cmake based packages add additional meaning to DNDEBUG. So the question is whether assert should have no effect only in cmake based packages or in all programs. -- Kacper Kornet _______________________________________________ pld-devel-en mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-en
