diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-06-06 14:37:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-08 11:11:22 +0100 |
commit | 2c5d24c92b5bd6855e808ff67ab4f51aaa95923a (patch) | |
tree | 5782e620db102b6aad42a09b08862757351589f5 | |
parent | c26156898ca83c96fea100ced9bc1f3d5b974bda (diff) | |
download | openembedded-core-2c5d24c92b5bd6855e808ff67ab4f51aaa95923a.tar.gz openembedded-core-2c5d24c92b5bd6855e808ff67ab4f51aaa95923a.tar.bz2 openembedded-core-2c5d24c92b5bd6855e808ff67ab4f51aaa95923a.zip |
gcc-8: Disable libssp for non mingw targets
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-8.1.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-8.1.inc b/meta/recipes-devtools/gcc/gcc-8.1.inc index ecc1ceff99..2b176ac98d 100644 --- a/meta/recipes-devtools/gcc/gcc-8.1.inc +++ b/meta/recipes-devtools/gcc/gcc-8.1.inc @@ -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 = "\ |