Parcourir la source

gcc: allow to compile gcc5

Waldemar Brodkorb il y a 1 semaine
Parent
commit
fc1b5c2bd5
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      toolchain/gcc/Makefile

+ 4 - 0
toolchain/gcc/Makefile

@@ -265,6 +265,10 @@ ifeq ($(ADK_TOOLCHAIN_GCC_NDS32),y)
 EXTRA_CXXFLAGS:=	--std=c++03
 endif
 
+ifeq ($(ADK_TOOLCHAIN_GCC_5),y)
+EXTRA_CXXFLAGS:=	-std=gnu++14
+endif
+
 ifeq (${ADK_MAKE_PARALLEL},y)
 GCC_MAKEOPTS+=		-j${ADK_MAKE_JOBS}
 endif