Merge pull request #553 from micmac1/dah-to-gcc10

dahdi-tools: add -fcommon workaround for gcc10
This commit is contained in:
micmac1 2020-08-07 21:06:53 +02:00 committed by GitHub
commit a973ea2bb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dahdi-tools PKG_NAME:=dahdi-tools
PKG_VERSION:=3.0.0 PKG_VERSION:=3.0.0
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-tools/releases PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
@ -54,6 +54,9 @@ endef
CONFIGURE_ARGS+=--disable-silent-rules CONFIGURE_ARGS+=--disable-silent-rules
# https://issues.asterisk.org/jira/browse/DAHTOOL-85
TARGET_CFLAGS+=-fcommon
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtonezone.{a,so*} \ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtonezone.{a,so*} \