diff options
author | Baruch Siach <baruch@tkos.co.il> | 2015-10-02 01:06:31 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-10-02 15:46:52 +0200 |
commit | ea3485d085200b82da6e6cc79ea75c01128a1df9 (patch) | |
tree | dc803688be076f313f2ee0f236b18c4812c21b3f /package/vtun | |
parent | 4640f87f2f6ab9ad2156e06e2b62f4534e983473 (diff) |
vtun: fix gcc5 build
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.
[Peter: add a comment explaining why]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vtun')
-rw-r--r-- | package/vtun/vtun.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk index 2b64ab9efc..2a3f5481a6 100644 --- a/package/vtun/vtun.mk +++ b/package/vtun/vtun.mk @@ -14,4 +14,7 @@ VTUN_CONF_OPTS = \ --with-lzo-headers=$(STAGING_DIR)/usr/include/lzo \ --with-lzo-lib=$(STAGING_DIR)/usr/lib +# Assumes old-style gcc inline symbol visibility rules +VTUN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu89" + $(eval $(autotools-package)) |