boost: Package Revision - Fix C++ standard flag 13166/head
authorCarlos Miguel Ferreira <carlosmf.pt@gmail.com>
Tue, 18 Aug 2020 22:38:21 +0000 (23:38 +0100)
committerCarlos Miguel Ferreira <carlosmf.pt@gmail.com>
Tue, 18 Aug 2020 22:38:21 +0000 (23:38 +0100)
This commit fixes the use of the C++20 standard when
 GCC 10.x is used.

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
libs/boost/Makefile

index ae9542392c83c9ec377fdf4e9fb953b6b6c3ae23..c8da7f5dc07d3b343670d80b112d7277d0a5bbe9 100644 (file)
@@ -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