Skip to contentSkip to conversation

package/ucl: fix build with host gcc 6.x

PATCH New Martin Bark 2 participants 2 messages Jun 16, 2016 – Jul 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>.
configure: Thanks for your support.
configure:
configure: error: ACC conformance test failed. Stop.

Fix the issue by using the ISO C90 standard.

---
Note: I found the fix here https://bugs.archlinux.org/task/49287

---
 package/ucl/ucl.mk | 3 +++
 1 file changed, 3 insertions(+)
package/ucl/ucl.mk +3 -0
index 2654a5a..e4dc1b3 100644
@@ -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))
Signature · 1 line
2.8.3
#1 lore raw

PATCH 1/1 package/ucl: fix build with host gcc 6.x

Hello,

Quoted 13 lines · Martin Bark

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 <[email protected]>.
configure: Thanks for your support.
configure:
configure: error: ACC conformance test failed. Stop.

Fix the issue by using the ISO C90 standard.

Quoted 7 lines

---
Note: I found the fix here https://bugs.archlinux.org/task/49287

---
 package/ucl/ucl.mk | 3 +++
 1 file changed, 3 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com