package/pulseaudio: allow to build without C++11 support
authorRomain Naour <romain.naour@gmail.com>
Sun, 3 Jul 2016 23:35:04 +0000 (01:35 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 4 Jul 2016 15:15:13 +0000 (17:15 +0200)
commit5b153d059b38b7b5695bedc2006227cca2977cab
tree4d8264487c1c8f37e68b1970f53ab7f82e1f2a68
parentffafb77da2d298cb5f4b0ea8486c7596f51af18e
package/pulseaudio: allow to build without C++11 support

C++11 support is only required for WebRTC optional support but
pulseaudio can still be built with toolchains based on gcc 4.7 or older
witch doesn't have it.

Add a patch to make C++11 support optional and explicitely check for
gnu++11. Also stop the build only if no C++11 support has been found
and WebRTC support has been resquested.

Fixes:
http://autobuild.buildroot.net/results/d89/d897a94a8b6a52eba03d04c24536f554a7643000

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pulseaudio/0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch [new file with mode: 0644]
package/pulseaudio/pulseaudio.mk