From 04ee9bc5288466b6ea633cfb5601fc2ff9139b71 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 21 Jul 2021 17:36:17 -0700 Subject: [PATCH] gsmlib: set C++ standard to 11 throw() was removed in C++17, which GCC11 defaults to. Signed-off-by: Rosen Penev --- libs/gsmlib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/gsmlib/Makefile b/libs/gsmlib/Makefile index 53ae116..7dae960 100644 --- a/libs/gsmlib/Makefile +++ b/libs/gsmlib/Makefile @@ -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) \ -- 2.30.2