query about debuginfo

Jakub Bogusz qboosh at pld-linux.org
Tue Apr 13 06:28:10 CEST 2021


On Mon, Apr 12, 2021 at 10:12:12PM +0200, Arkadiusz Miśkiewicz wrote:
> W dniu 12.04.2021 o 21:53, Arkadiusz Miśkiewicz pisze:
> > W dniu 12.04.2021 o 21:20, Peri Noid pisze:
> >> Dnia poniedziałek, 12 kwietnia 2021 20:56:49 CEST Arkadiusz Miśkiewicz pisze:
> >> [...]
> >>> Should we change our default rpm macro?
> >>>
> >>> $ rpm --showrc|grep CMAKE_BUILD_TYPE
> >>>         -DCMAKE_BUILD_TYPE=%{!?debug:PLD}%{?debug:Debug} \
> >>
> >> Yes please! Make it either conditional or "the opposite". I couldn't compile 
> >> kile recently just becouse of this since I didn't understand the source of the 
> >> problem.
> >>
> > 
> > I have no idea why we use PLD there.
> 
> Probably to avoid default release optimizations that cmake adds (because
> we use our own CFLAGS etc).

That's the reason AFAIR.


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


More information about the pld-devel-en mailing list