Commit 6eaa54b
authored
ESP32: disable debug mode when compiler optimization assertions are disabled (project-chip#38384) (project-chip#38659)
Earlier we were setting is_debug to TRUE when assertions were disabled
and it is incorrect.
Earlier we were setting is_debug to TRUE when assertions were disabled
and it is incorrect.
All components would be built using cmake build system would honour
the CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS.... configuration. But
sources compiled using gn will have -NDEBUG flag by default. This
would create a mismatch.1 parent 9fca93e commit 6eaa54b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments