summaryrefslogtreecommitdiff
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-12 22:10:05 +0100
committerPhil Blundell <philb@gnu.org>2009-06-12 22:10:05 +0100
commit543f79f0298ff23b03339172e8a2f3f05784495e (patch)
tree40d69080b7d375c665aa3ce6e20f80f1cd66c046 /conf/bitbake.conf
parent1f72f3ed3a48ce1589482b013c5a06e7d864e050 (diff)
bitbake.conf: add -g to BUILD_OPTIMIZATION
sane-toolchain-*.inc: remove assignments to BUILD_OPTIMIZATION Acked-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index e711a1f1d2..5107e69786 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -474,7 +474,7 @@ EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"
DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer -g"
SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"
-BUILD_OPTIMIZATION = "-O2"
+BUILD_OPTIMIZATION = "-O2 -g"
##################################################################
# Bootstrap stuff.