From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] vtun: fix gcc5 build
Date: Fri, 02 Oct 2015 15:51:45 +0200 [thread overview]
Message-ID: <8737xtjs3y.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <e7f752b1db41fb8e094a79efd6210501de26a7b0.1443737191.git.baruch@tkos.co.il> (Baruch Siach's message of "Fri, 2 Oct 2015 01:06:31 +0300")
>>>>> "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
prev parent reply other threads:[~2015-10-02 13:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 22:06 [Buildroot] [PATCH] vtun: fix gcc5 build Baruch Siach
2015-10-02 13:51 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737xtjs3y.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox