summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/bitbake.conf3
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##################################################################
454DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types -feliminate-dwarf2-dups" 454DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types"
455# Disabled until the option works properly -feliminate-dwarf2-dups
455FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" 456FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
456DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" 457DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe"
457SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" 458SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"