Skip to contentSkip to conversation

mpd: add more gcc exclusions

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpd: add more gcc exclusions

The codesourcery powerpc toolchains also include a gcc that's too old for mpd to build properly. Fixes:
http://autobuild.buildroot.net/results/be0/be0aff9814ded4ba74999283530b805af01992da/

Also add toolchain comment exclusion for avr32 & sparc since it won't be available anyway.

---
 package/mpd/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/mpd/Config.in +4 -1
index 5a03a62..063c65d 100644
@@ -4,7 +4,9 @@ menuconfig BR2_PACKAGE_MPD
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on BR2_USE_MMU # libglib2
-	depends on !(BR2_avr32 || BR2_sparc) # gcc too old
+	# avr32, sparc & CS powerpc gcc are too old
+	depends on !(BR2_avr32 || BR2_sparc)
+	depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
 	depends on !BR2_UCLIBC_VERSION_0_9_32 # lacks signalfd
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -200,5 +202,6 @@ endif
 
 comment "mpd needs a toolchain w/ C++, threads, wchar"
 	depends on BR2_USE_MMU
+	depends on !(BR2_avr32 || BR2_sparc)
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 mpd: add more gcc exclusions

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

The codesourcery powerpc toolchains also include a gcc that's too old for mpd to build properly. Fixes:
http://autobuild.buildroot.net/results/be0/be0aff9814ded4ba74999283530b805af01992da/

Also add toolchain comment exclusion for avr32 & sparc since it won't be available anyway.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard