]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-8: Disable libssp for non mingw targets
authorKhem Raj <raj.khem@gmail.com>
Wed, 6 Jun 2018 21:37:21 +0000 (14:37 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Jun 2018 10:11:22 +0000 (11:11 +0100)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-8.1.inc

index ecc1ceff992193253af727eb1720624522530b24..2b176ac98d06832d0c24c33e0b78d11fe2c52880 100644 (file)
@@ -87,10 +87,12 @@ FORTRAN = ""
 JAVA = ""
 
 LTO = "--enable-lto"
+SSP ?= "--disable-libssp"
+SSP_mingw32 = "--enable-libssp"
 
 EXTRA_OECONF_BASE = "\
     ${LTO} \
-    --enable-libssp \
+    ${SSP} \
     --enable-libitm \
     --disable-bootstrap \
     --disable-libmudflap \
@@ -114,7 +116,7 @@ EXTRA_OECONF_INITIAL = "\
     --disable-plugin \
     --enable-decimal-float=no \
     --without-isl \
-    gcc_cv_libc_provides_ssp=yes \
+    --disable-libssp \
 "
 
 EXTRA_OECONF_PATHS = "\