From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Fri, 02 Oct 2015 15:51:45 +0200 Subject: [Buildroot] [PATCH] vtun: fix gcc5 build In-Reply-To: (Baruch Siach's message of "Fri, 2 Oct 2015 01:06:31 +0300") References: Message-ID: <8737xtjs3y.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Baruch" == Baruch Siach 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 > --- > 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