Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] vtun: fix gcc5 build
@ 2015-10-01 22:06 Baruch Siach
  2015-10-02 13:51 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2015-10-01 22:06 UTC (permalink / raw)
  To: buildroot

Add -std=gnu89 to CFLAGS to keep pre gcc5 inline function symbols visibility
rules.

Fixes:
http://autobuild.buildroot.net/results/a7e/a7e684174b90a852318a7a8bf41c4f477d159d56/
http://autobuild.buildroot.net/results/ab0/ab01f8e0467e85322c63b81bb7e84fd251e5d556/
http://autobuild.buildroot.net/results/117/117a68bf648b050dabed8088d1165c1d7d9301f0/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/vtun/vtun.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk
index 2b64ab9efc69..884ebc666431 100644
--- a/package/vtun/vtun.mk
+++ b/package/vtun/vtun.mk
@@ -14,4 +14,6 @@ VTUN_CONF_OPTS = \
 	--with-lzo-headers=$(STAGING_DIR)/usr/include/lzo \
 	--with-lzo-lib=$(STAGING_DIR)/usr/lib
 
+VTUN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
+
 $(eval $(autotools-package))
-- 
2.5.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] vtun: fix gcc5 build
  2015-10-01 22:06 [Buildroot] [PATCH] vtun: fix gcc5 build Baruch Siach
@ 2015-10-02 13:51 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2015-10-02 13:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Baruch" == Baruch Siach <baruch@tkos.co.il> writes:

 > Add -std=gnu89 to CFLAGS to keep pre gcc5 inline function symbols visibility
 > rules.

 > Fixes:
 > http://autobuild.buildroot.net/results/a7e/a7e684174b90a852318a7a8bf41c4f477d159d56/
 > http://autobuild.buildroot.net/results/ab0/ab01f8e0467e85322c63b81bb7e84fd251e5d556/
 > http://autobuild.buildroot.net/results/117/117a68bf648b050dabed8088d1165c1d7d9301f0/

 > and more.

 > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
 > ---
 >  package/vtun/vtun.mk | 2 ++
 >  1 file changed, 2 insertions(+)

 > diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk
 > index 2b64ab9efc69..884ebc666431 100644
 > --- a/package/vtun/vtun.mk
 > +++ b/package/vtun/vtun.mk
 > @@ -14,4 +14,6 @@ VTUN_CONF_OPTS = \
 >  	--with-lzo-headers=$(STAGING_DIR)/usr/include/lzo \
 >  	--with-lzo-lib=$(STAGING_DIR)/usr/lib
 
 > +VTUN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89"

Committed after adding a comment explaining why this is needed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-02 13:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 22:06 [Buildroot] [PATCH] vtun: fix gcc5 build Baruch Siach
2015-10-02 13:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox