Sfoglia il codice sorgente

gcc: allow to compile gcc5

Waldemar Brodkorb 1 settimana fa
parent
commit
fc1b5c2bd5
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  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