Skip to contentSkip to conversation

pckage/upmpdcli: disable for powerpc CS toolchains

PATCH New Yann E. MORIN 2 participants 2 messages Jul 19, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pckage/upmpdcli: disable for powerpc CS toolchains

Those toolchains use gcc <= 4.5, which is too old as they are missing range-based for-loops, only introduced with gcc-4.6.

Fixes:

    http://autobuild.buildroot.net/results/f00/f00fa9b83718abaffd1f52dcd50e582434b3c5e2/
Cc Thomas Petazzoni <[email protected]>
Cc Gustavo Zacarias <[email protected]>
Cc Ezequiel Garcia <[email protected]>
---
 package/upmpdcli/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/upmpdcli/Config.in +2 -0
index d89928f..3fa638b 100644
@@ -6,6 +6,8 @@ config BR2_PACKAGE_UPMPDCLI
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_LARGEFILE # libupnp
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp
+	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 # Too old gcc
+	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 # Ditto
 	help
 	  upmpdcli is a UPnP Media Renderer front-end for MPD, the Music
 	  Player Daemon. It supports UPnP gapless track transitions and
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 pckage/upmpdcli: disable for powerpc CS toolchains

Dear Yann E. MORIN,

Quoted 6 lines · Yann E. MORIN

Those toolchains use gcc <= 4.5, which is too old as they are missing range-based for-loops, only introduced with gcc-4.6.

Fixes:

    http://autobuild.buildroot.net/results/f00/f00fa9b83718abaffd1f52dcd50e582434b3c5e2/
Quoted 7 lines
Cc Thomas Petazzoni <[email protected]>
Cc Gustavo Zacarias <[email protected]>
Cc Ezequiel Garcia <[email protected]>
---
 package/upmpdcli/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks.

Thomas

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