| Summary: | Align setting of NDEBUG define in build system classes | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Martin <marejde> |
| Component: | devtools / tool chain | Assignee: | Changqing Li <changqing.li> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher, randy.macleod |
| Version: | unspecified | ||
| Target Milestone: | 4.99 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Don't know | |
|
Description
Martin
2019-11-15 08:48:37 UTC
I think we don't have to align the different class. 1. the build system class is used by different recipes, and they can have different configuration. 2. we have different build system, they have different default usage about this. for cmake.bbclass and meson.bbclass, they have similar mechanism, NDEBUG can be set to switch by buildtype by some options for autotools, I think need to set this in configure.ac per recipe. another one for distutils, seems enable DNDEBUG by default. RP agrees that this should be system specific as Changqing stated. -- From: YP bug review meeting |