diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-7.3.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index d968c322d2..0586182282 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc | |||
@@ -72,6 +72,7 @@ SRC_URI = "\ | |||
72 | file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ | 72 | file://0045-Link-libgcc-using-LDFLAGS-not-just-SHLIB_LDFLAGS.patch \ |
73 | file://0047-sync-gcc-stddef.h-with-musl.patch \ | 73 | file://0047-sync-gcc-stddef.h-with-musl.patch \ |
74 | file://0048-gcc-Enable-static-PIE.patch \ | 74 | file://0048-gcc-Enable-static-PIE.patch \ |
75 | file://0049-gcc-override-TARGET_LIBC_PROVIDES_SSP.patch \ | ||
75 | file://fix-segmentation-fault-precompiled-hdr.patch \ | 76 | file://fix-segmentation-fault-precompiled-hdr.patch \ |
76 | file://no-sse-fix-test-case-failures.patch \ | 77 | file://no-sse-fix-test-case-failures.patch \ |
77 | ${BACKPORTS} \ | 78 | ${BACKPORTS} \ |
@@ -93,10 +94,12 @@ FORTRAN = "" | |||
93 | JAVA = "" | 94 | JAVA = "" |
94 | 95 | ||
95 | LTO = "--enable-lto" | 96 | LTO = "--enable-lto" |
97 | SSP ?= "--disable-libssp" | ||
98 | SSP_mingw32 = "--enable-libssp" | ||
96 | 99 | ||
97 | EXTRA_OECONF_BASE = "\ | 100 | EXTRA_OECONF_BASE = "\ |
98 | ${LTO} \ | 101 | ${LTO} \ |
99 | --enable-libssp \ | 102 | ${SSP} \ |
100 | --enable-libitm \ | 103 | --enable-libitm \ |
101 | --disable-bootstrap \ | 104 | --disable-bootstrap \ |
102 | --disable-libmudflap \ | 105 | --disable-libmudflap \ |
@@ -120,7 +123,7 @@ EXTRA_OECONF_INITIAL = "\ | |||
120 | --disable-plugin \ | 123 | --disable-plugin \ |
121 | --enable-decimal-float=no \ | 124 | --enable-decimal-float=no \ |
122 | --without-isl \ | 125 | --without-isl \ |
123 | gcc_cv_libc_provides_ssp=yes \ | 126 | --disable-libssp \ |
124 | " | 127 | " |
125 | 128 | ||
126 | EXTRA_OECONF_PATHS = "\ | 129 | EXTRA_OECONF_PATHS = "\ |