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

Submitted by Khem Raj on July 21, 2018, 4:27 p.m. | Patch ID: 152850

Details

Message ID 20180721162715.12611-7-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj July 21, 2018, 4:27 p.m.
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(-)

Patch hide | download patch | download mbox

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 = ""