summaryrefslogtreecommitdiffstats
path: root/package/pulseaudio/pulseaudio.mk
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2016-07-06 23:50:55 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-07 11:48:48 +0200
commit9d6beb7dd78b0d48854da9623ad42205ab844c45 (patch)
tree089b09b03282f794ea621f322ff814bc09e65b8b /package/pulseaudio/pulseaudio.mk
parent57fc25e8b2164adddf4c77a3632e2e9d2d7f31ad (diff)
downloadbuildroot-9d6beb7dd78b0d48854da9623ad42205ab844c45.tar.gz
buildroot-9d6beb7dd78b0d48854da9623ad42205ab844c45.zip
package/pulseaudio: remove WebRTC hook for toolchains without C++
This hook is not required anymore since we handle WebRTC dependency with --enable/disable-webrtc-aec. Also the hook doesn't have any effect since we use autoreconf because it should have been a POST_CONFIGURE_HOOKS. So, we can remove it safely. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pulseaudio/pulseaudio.mk')
-rw-r--r--package/pulseaudio/pulseaudio.mk15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/pulseaudio/pulseaudio.mk b/package/pulseaudio/pulseaudio.mk
index e0d9ab49e3..74a028be45 100644
--- a/package/pulseaudio/pulseaudio.mk
+++ b/package/pulseaudio/pulseaudio.mk
@@ -94,21 +94,6 @@ else
PULSEAUDIO_CONF_OPTS += --disable-webrtc-aec
endif
-ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
-# The optional webrtc echo canceller is written in C++, causing auto* to want
-# to link module-echo-cancel.so with CXX even if webrtc ISN'T used.
-# If we don't have C++ support enabled in BR, CXX will point to /bin/false,
-# which makes configure think we aren't able to create C++ .so files
-# (arguable true), breaking the build when it tries to install the .so
-# workaround it by patching up the libtool invocations to use C mode instead
-define PULSEAUDIO_FORCE_CC
- $(SED) 's/--tag=CXX/--tag=CC/g' -e 's/(CXXLD)/(CCLD)/g' \
- $(@D)/src/Makefile.in
-endef
-
-PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FORCE_CC
-endif
-
# neon intrinsics not available with float-abi=soft
ifeq ($(BR2_ARM_SOFT_FLOAT),)
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
OpenPOWER on IntegriCloud