summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 13:47:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-29 13:54:52 +0100
commit43dd780ace029c231f70424a510c934f436e513c (patch)
treefbd1d0ae6083f8f12001b3819e42334b435e03a9
parent594d43d91c7a604325a6100a48f76682c9218ff4 (diff)
downloadopenembedded-core-43dd780ace029c231f70424a510c934f436e513c.tar.gz
openembedded-core-43dd780ace029c231f70424a510c934f436e513c.tar.bz2
openembedded-core-43dd780ace029c231f70424a510c934f436e513c.tar.xz
openembedded-core-43dd780ace029c231f70424a510c934f436e513c.zip
bitbake.conf: Disable -feliminate-dwarf2-dups flag until it works with prelink and other issues are resolved
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 6b6b2ee21..56c7bbb42 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -451,7 +451,8 @@ EXTRA_OEMAKE_prepend_task-compile = "${PARALLEL_MAKE} "
##################################################################
# Optimization flags.
##################################################################
-DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types -feliminate-dwarf2-dups"
+DEBUG_FLAGS ?= "-g -feliminate-unused-debug-types"
+# Disabled until the option works properly -feliminate-dwarf2-dups
FULL_OPTIMIZATION = "-O2 -pipe ${DEBUG_FLAGS}"
DEBUG_OPTIMIZATION = "-O -fno-omit-frame-pointer ${DEBUG_FLAGS} -pipe"
SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}"