diff options
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 74f3ccb815..22532db7fe 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -495,11 +495,11 @@ EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} " | |||
495 | ################################################################## | 495 | ################################################################## |
496 | # Optimization flags. | 496 | # Optimization flags. |
497 | ################################################################## | 497 | ################################################################## |
498 | 498 | DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types -feliminate-dwarf2-dups" | |
499 | FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types" | 499 | FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}" |
500 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g" | 500 | DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe" |
501 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" | 501 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" |
502 | BUILD_OPTIMIZATION = "-O2" | 502 | BUILD_OPTIMIZATION = "-O2 -pipe" |
503 | 503 | ||
504 | ################################################################## | 504 | ################################################################## |
505 | # Bootstrap stuff. | 505 | # Bootstrap stuff. |