]> code.ossystems Code Review - openembedded-core.git/commit
go-mod.bbclass: use append to add `modcacherw`
authorPeter A. Bigot <pab@pabigot.com>
Sat, 26 Sep 2020 10:53:09 +0000 (05:53 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Sep 2020 13:15:45 +0000 (14:15 +0100)
commita9d0a79e8d320174737263ce099a259d85a92ceb
tree9ba0957242f818ec090b5d030781ca2849d90589
parenta2b50b74d609ce079ab36b82d4c7c3539fb56485
go-mod.bbclass: use append to add `modcacherw`

This class provided default build flags but includes the base go class
which also provides default flags.  Use a different mechanism to
extend the default flags without discarding `-trimpath` from the base
class.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go-mod.bbclass