[OE-core] Howto create image with -O0 optimization

Khem Raj raj.khem at gmail.com
Tue Aug 9 23:41:05 UTC 2011


On Tue, Aug 9, 2011 at 4:21 PM, Andreas Mueller <schnitzeltony at gmx.de> wrote:
> Hi
>
> I am debugging thunar to find the reason for segfault and modified the recipe to
> be compiled without optimization -O0. Now I need to step into shared libraries
> too but since they are compiled with optimization it causes confusing step
> seqences.
>
> So: How do I force -O0 optimization for whole images?
>

couple of ways. Set DEBUG_BUILD = "1" in your local.conf and recompile
this will build stuff with -O1 which is better for debugging then -O2

otherwise you can override SELECTED_OPTIMIZATION = "whatever you want"
in local.conf

> Andreas
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list