Skip to contentSkip to conversation

emptty: use of append in build flags

PATCH New [email protected] 1 participant 1 message Mar 21, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 emptty: use of append in build flags

From: Randolph Sapp <[email protected]>

The use of append with GOBUILDFLAGS is mandatory. There is no reasonable extra buildflags variable to use in this case, and using += will break argument ordering.

Fixes 67d7748a (emptty: address feedback around append usage, 2025-03-19)
---
 meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb +1 -1
index ce84898c..412ad729 100644
@@ -28,7 +28,7 @@ GO_TAGS = ""
 GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"
 GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"
 
-GOBUILDFLAGS += "-tags=${GO_TAGS}"
+GOBUILDFLAGS:append = " -tags=${GO_TAGS}"
 
 export GO111MODULE="off"
 
Signature · 1 line
2.48.1