diff --git a/net/softethervpn/Makefile b/net/softethervpn/Makefile index 4e5ece4188..79263961fc 100644 --- a/net/softethervpn/Makefile +++ b/net/softethervpn/Makefile @@ -12,7 +12,7 @@ PKG_NAME:=softethervpn PKG_REALVERSION:=4.38-9760 PKG_VERSION:=$(word 1,$(subst -, ,$(PKG_REALVERSION))) PKG_VERREL:=rtm -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=softether-src-v$(PKG_REALVERSION)-$(PKG_VERREL).tar.gz PKG_SOURCE_URL:=https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/releases/download/v$(PKG_REALVERSION)-$(PKG_VERREL) @@ -44,7 +44,7 @@ HOST_MAKE_FLAGS += \ define Host/Configure endef -HOST_CFLAGS += $(if $(CONFIG_HOST_OS_MACOS),-Wno-implicit-function-declaration,) +HOST_CFLAGS += -std=gnu17 $(if $(CONFIG_HOST_OS_MACOS),-Wno-implicit-function-declaration,) define Host/Compile # Build hamcorebuilder using host compiler and let it generate @@ -62,6 +62,7 @@ endef # Tune CFLAGS for target TARGET_CFLAGS += \ + -std=gnu17 \ $(if $(CONFIG_OPENSSL_WITH_SSL3),,-DSSL_OP_NO_SSLv3) \ $(if $(filter mips mipsel,$(ARCH)),-minterlink-mips16)