[Buildroot] [git commit] package/ucl: fix build with host gcc 6.x
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jul 1 14:16:45 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=1474b369638e84090d3f6c2b51a5269076d00be5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
ucl fails with the following error when using gcc 6.x on the host:
checking whether your compiler passes the ACC conformance test... FAILED
configure:
configure: Your compiler failed the ACC conformance test - for details see
configure: `config.log'. Please check that log file and consider sending
configure: a patch or bug-report to <markus at oberhumer.com>.
configure: Thanks for your support.
configure:
configure: error: ACC conformance test failed. Stop.
Fix the issue by using the ISO C90 standard.
Signed-off-by: Martin Bark <martin at barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/ucl/ucl.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/ucl/ucl.mk b/package/ucl/ucl.mk
index 2654a5a..e4dc1b3 100644
--- a/package/ucl/ucl.mk
+++ b/package/ucl/ucl.mk
@@ -9,4 +9,7 @@ UCL_SITE = http://www.oberhumer.com/opensource/ucl/download
UCL_LICENSE = GPLv2+
UCL_LICENSE_FILES = COPYING
+# Fix ACC conformance test failure for host gcc 6.x
+HOST_UCL_CONF_ENV += CPPFLAGS="$(HOST_CPPFLAGS) -std=c90"
+
$(eval $(host-autotools-package))
More information about the buildroot
mailing list