packages: taglib/taglib.spec - add build type

Jakub Bogusz qboosh at pld-linux.org
Thu Oct 1 16:43:38 CEST 2009


On Thu, Sep 24, 2009 at 09:50:22PM +0200, cactus wrote:
> Author: cactus                       Date: Thu Sep 24 19:50:22 2009 GMT
> Module: packages                      Tag: HEAD
> ---- Log message:
> - add build type

>  %cmake \
>  	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
>  	-DLIB_INSTALL_DIR=%{_libdir} \
> +	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \

CMAKE_BUILD_TYPE=Release causes cmake to override our optflags by
cmake-defined ones; particularly - by -O3, which causes code to be
bigger (because of more aggressive inlining), and thus - in larger
projects - possibly slower due to more code cache misses.


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


More information about the pld-devel-en mailing list