Skip to contentSkip to conversation

package/pulseaudio: remove WebRTC hook for toolchains without C++

PATCH New Romain Naour 2 participants 2 messages Jul 6, 2016 – Jul 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Peter Korsgaard <[email protected]>
---
 package/pulseaudio/pulseaudio.mk | 15 ---------------
 1 file changed, 15 deletions(-)
package/pulseaudio/pulseaudio.mk +0 -15
index e0d9ab4..74a028b 100644
@@ -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)
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 package/pulseaudio: remove WebRTC hook for toolchains without C++

Hello,

Quoted 6 lines · Romain Naour

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.

Quoted 7 lines

So, we can remove it safely.

Cc Peter Korsgaard <[email protected]>
---
 package/pulseaudio/pulseaudio.mk | 15 ---------------
 1 file changed, 15 deletions(-)

Applied to master, thanks.

Thomas

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