From 23056103c949b498c23b47579e8dd57ce78e6ed9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 22 Feb 2016 06:50:57 +0000 Subject: uclibc: Do not use immediate expansion operator := causes none of _remove flags to work with uclibc e.g. security flags where we remove ssp options for libcs but it does not become effective for uclibc and hence the build fails (From OE-Core rev: 205b446f3fc4a9885179a66a8dab9d81bcc63dca) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-core/uclibc/uclibc.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc/uclibc.inc index b63158ac40..1d42284fb7 100644 --- a/meta/recipes-core/uclibc/uclibc.inc +++ b/meta/recipes-core/uclibc/uclibc.inc @@ -63,7 +63,7 @@ export V="2" # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860 # CFLAGS_remove_arm = "-fno-omit-frame-pointer" -UCLIBC_EXTRA_CFLAGS := "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}" +UCLIBC_EXTRA_CFLAGS = "${@oe_filter_out('(-I\S+|-i\S+)', '${CFLAGS}', d)}" configmangle = '/^KERNEL_HEADERS/d; \ /^RUNTIME_PREFIX/d; \ @@ -82,8 +82,8 @@ configmangle = '/^KERNEL_HEADERS/d; \ /HAS_FPU/d; \ ${@["","s,.*MULTILIB_DIR.*,MULTILIB_DIR=\"${baselib}\",;"][d.getVar("baselib", True) != "lib"]} \ ' -OE_FEATURES := "${@features_to_uclibc_conf(d)}" -OE_DEL := "${@features_to_uclibc_del(d)}" +OE_FEATURES = "${@features_to_uclibc_conf(d)}" +OE_DEL = "${@features_to_uclibc_del(d)}" python () { if "${OE_DEL}": d.setVar('configmangle_append', "${OE_DEL}" + "\n") -- cgit v1.2.3-54-g00ecf