gsmlib: set C++ standard to 11

throw() was removed in C++17, which GCC11 defaults to.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2021-07-21 17:36:17 -07:00
parent 9e00d5ff6d
commit 04ee9bc528

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gsmlib
PKG_VERSION:=1.10-20140304
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://github.com/vbouchaud/gsmlib.git
@ -62,6 +62,8 @@ define Package/gsm-utils/description
Some simple command line programs to access GSM mobile phones via GSM modems.
endef
TARGET_CXXFLAGS += -std=c++11
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME)
$(INSTALL_DATA) \