package/webrtc-audio-processing: needs gcc >= 4.8
authorRomain Naour <romain.naour@gmail.com>
Sun, 3 Jul 2016 22:32:49 +0000 (00:32 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 3 Jul 2016 23:16:13 +0000 (01:16 +0200)
Webrtc-audio-processing require a C++11 compiler

Fixes:
http://autobuild.buildroot.net/results/729/729cd0039ac172cfe31a4325bad902e9a14e146f

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/webrtc-audio-processing/Config.in

index f228bc7c18f7e2a44a4cf924a1ed0845cecabde1..7c69903555678879708474b3dc62ce8259766d95 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
        bool "webrtc-audio-processing"
        depends on BR2_arm || BR2_i386 || BR2_x86_64
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
          AudioProcessing library based on Google's implementation of
@@ -9,6 +10,7 @@ config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING
 
          http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
 
-comment "webrtc-audio-processing needs a toolchain w/ C++, threads"
+comment "webrtc-audio-processing needs a toolchain w/ C++, threads, gcc >= 4.8"
        depends on BR2_arm || BR2_i386 || BR2_x86_64
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
+               || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8