espeak: remove libstdcpp dependency
authorRosen Penev <rosenp@gmail.com>
Mon, 26 Feb 2024 20:45:06 +0000 (12:45 -0800)
committerRosen Penev <rosenp@gmail.com>
Mon, 18 Mar 2024 03:18:40 +0000 (20:18 -0700)
Apparently it goes away when passing --as-needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
sound/espeak/Makefile

index 260b2c448e0769ffa011e0f40ac5306ac6c707bb..634b040f47f661ade9a106e19e2f9ab3685cb150 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=espeak
 PKG_VERSION:=1.48.04
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.zip
 PKG_SOURCE_URL:=@SF/espeak
@@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/espeak
   SECTION:=sound
   CATEGORY:=Sound
-  DEPENDS:=+libstdcpp +portaudio
+  DEPENDS:=+portaudio
   TITLE:=Speech synthesizer
   URL:=http://espeak.sourceforge.net/
 endef
@@ -52,7 +52,7 @@ MAKE_FLAGS+= \
 MAKE_PATH:=./src
 
 TARGET_CXXFLAGS += -std=c++14
-TARGET_LDFLAGS += $(FPIC) $(if $(CONFIG_USE_GLIBC),-lm) -Wl,--as-needed
+TARGET_LDFLAGS += $(FPIC) -Wl,--as-needed
 
 define Package/espeak/install
        $(INSTALL_DIR) $(1)/usr/bin