diff mbox series

[7/7] no-static-libs.inc: use `?=' to set a default DISABLE_STATIC

Message ID 20180721162715.12611-7-raj.khem@gmail.com
State New
Headers show
Series [1/7] glibc-locale: Fix host-user-contaminated QA errors | expand

Commit Message

Khem Raj July 21, 2018, 4:27 p.m. UTC
From: Hongxu Jia <hongxu.jia@windriver.com>


It could be overrided by basic variable setting `='.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta/conf/distro/include/no-static-libs.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.18.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/conf/distro/include/no-static-libs.inc b/meta/conf/distro/include/no-static-libs.inc
index 7c165c717f..7fd578b3ce 100644
--- a/meta/conf/distro/include/no-static-libs.inc
+++ b/meta/conf/distro/include/no-static-libs.inc
@@ -1,4 +1,4 @@ 
-DISABLE_STATIC = " --disable-static"
+DISABLE_STATIC ?= " --disable-static"
 
 # qemu aborts on unrecognised option
 DISABLE_STATIC_pn-qemu = ""