[Buildroot] [BUILDROOT][PATCHv2 1/3] balena: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Jun 6 05:52:00 UTC 2018


Hello,

On Wed, 6 Jun 2018 08:26:28 +0300, Refik Tuzaklı wrote:

> >> +BALENA_LDFLAGS += -extldflags '-static'  
> > Same.  
> I think we need it because in the pkg-golang. mk there is if clause 
> about it;
> ifeq ($(BR2_STATIC_LIBS),y)
> $(2)_LDFLAGS += -extldflags '-static'
> endif
> in our dependencies BR2_STATIC_LIBS should be "n"

Why is -extldflags '-static' needed when BR2_STATIC_LIBS is disabled ?
It shouldn't be necessary.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list