From 543f79f0298ff23b03339172e8a2f3f05784495e Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Fri, 12 Jun 2009 22:10:05 +0100 Subject: bitbake.conf: add -g to BUILD_OPTIMIZATION sane-toolchain-*.inc: remove assignments to BUILD_OPTIMIZATION Acked-by: Richard Purdie --- conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'conf/bitbake.conf') 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. -- cgit v1.2.3