diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 6b6b2ee21c..56c7bbb42c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -451,7 +451,8 @@ EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " | |||
451 | ################################################################## | 451 | ################################################################## |
452 | # Optimization flags. | 452 | # Optimization flags. |
453 | ################################################################## | 453 | ################################################################## |
454 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types -feliminate-dwarf2-dups" | 454 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types" |
455 | # Disabled until the option works properly -feliminate-dwarf2-dups | ||
455 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" | 456 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
456 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" | 457 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" |
457 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" | 458 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" |