summaryrefslogtreecommitdiff
path: root/libs/gsmlib/Makefile
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2021-07-21 17:36:17 -0700
committerRosen Penev <rosenp@gmail.com>2021-07-21 17:37:23 -0700
commit04ee9bc5288466b6ea633cfb5601fc2ff9139b71 (patch)
tree23a9f7e2574554ae0af590279e8f63d826ba074e /libs/gsmlib/Makefile
parent9e00d5ff6d562797fb730dcb70554b62c2f90599 (diff)
gsmlib: set C++ standard to 11
throw() was removed in C++17, which GCC11 defaults to. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/gsmlib/Makefile')
-rw-r--r--libs/gsmlib/Makefile4
1 files changed, 3 insertions, 1 deletions
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) \