From 45290b69536c36dc613adf2e75ab8133b9cc956f Mon Sep 17 00:00:00 2001 From: Carlos Miguel Ferreira Date: Tue, 18 Aug 2020 23:38:21 +0100 Subject: [PATCH] boost: Package Revision - Fix C++ standard flag This commit fixes the use of the C++20 standard when GCC 10.x is used. Signed-off-by: Carlos Miguel Ferreira --- libs/boost/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/boost/Makefile b/libs/boost/Makefile index ae9542392..c8da7f5dc 100644 --- a/libs/boost/Makefile +++ b/libs/boost/Makefile @@ -13,7 +13,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=boost PKG_VERSION:=1.74.0 PKG_SOURCE_VERSION:=1_74_0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)_$(PKG_SOURCE_VERSION).tar.bz2 PKG_SOURCE_URL:=@SF/$(PKG_NAME)/$(PKG_NAME)/$(PKG_VERSION) https://dl.bintray.com/boostorg/release/$(PKG_VERSION)/source/ @@ -372,7 +372,7 @@ TARGET_LDFLAGS += -pthread -lrt TARGET_CFLAGS += \ $(if $(CONFIG_SOFT_FLOAT),-DBOOST_NO_FENV_H) -fPIC -EXTRA_CXXFLAGS += $(if $(GCC_USE_VERSION_10),$(if $(CONFIG_GCC_USE_VERSION_5),-std=gnu++14,-std=gnu++17),-std=gnu++20) +EXTRA_CXXFLAGS += $(if $(CONFIG_GCC_USE_VERSION_10),-std=gnu++20,$(if $(CONFIG_GCC_USE_VERSION_5),-std=gnu++14,-std=gnu++17)) ifneq ($(findstring mips,$(ARCH)),) BOOST_ABI = o32