From 1d4f934f05166b96e6ff85be6844c3324781daf9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 28 Aug 2017 05:53:02 -0500 Subject: Fix FTBFS with GCC 6 --- meta/recipes-devtools/gcc/gcc-cross.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 9792950..7832fdd 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc @@ -34,6 +34,7 @@ ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" do_compile () { export CC="${BUILD_CC}" + export TARGET_CXXFLAGS="${TARGET_CXXFLAGS} -Wno-literal-suffix" export AR_FOR_TARGET="${TARGET_SYS}-ar" export RANLIB_FOR_TARGET="${TARGET_SYS}-ranlib" export LD_FOR_TARGET="${TARGET_SYS}-ld" -- cgit v1.1