diff options
author | Martin Bark <martin@barkynet.com> | 2016-06-16 17:00:49 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 16:16:45 +0200 |
commit | 1474b369638e84090d3f6c2b51a5269076d00be5 (patch) | |
tree | 2719299ecda17a3f7b9821abf70cc876460bbeb5 /package/ucl | |
parent | 1a4f44802baf4cbb34c674e167dda6029df9282f (diff) |
package/ucl: fix build with host gcc 6.x
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@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@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ucl')
-rw-r--r-- | package/ucl/ucl.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/ucl/ucl.mk b/package/ucl/ucl.mk index 2654a5a7c..e4dc1b3ed 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)) |