summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2017-08-28 05:53:02 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2017-08-28 20:31:47 -0500
commit1d4f934f05166b96e6ff85be6844c3324781daf9 (patch)
treeded1dc48c4b2ba402b5f1d0eb8ea1334da522cba /meta/recipes-devtools
parent15c2d64c833076451ef5c047bc6cde0740531033 (diff)
downloadast2050-yocto-poky-1d4f934f05166b96e6ff85be6844c3324781daf9.zip
ast2050-yocto-poky-1d4f934f05166b96e6ff85be6844c3324781daf9.tar.gz
Fix FTBFS with GCC 6
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross.inc1
1 files changed, 1 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud