mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
c758d6427c
Deleted (upstreamed): - 020-Include-safe-ctype.h-after-C-standard-headers-to-avo.patch [1] - 021-libcc1-fix-vector-include.patch [2] All other patches automatically rebased. Note that selecting GCC 14, as of now, *will* result in build failures. The packages that fail to build will be fixed as they're found. Thus, GCC 13.x is the default, for the time being. [1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9970b576b7e4ae337af1268395ff221348c4b34a [2] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5213047b1d50af63dfabb5e5649821a6cb157e33 Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
14 lines
413 B
Diff
14 lines
413 B
Diff
--- a/gcc/gcc.cc
|
|
+++ b/gcc/gcc.cc
|
|
@@ -985,7 +985,9 @@ proper position among the other output f
|
|
#endif
|
|
|
|
#ifndef LINK_SSP_SPEC
|
|
-#ifdef TARGET_LIBC_PROVIDES_SSP
|
|
+#if DEFAULT_LIBC == LIBC_MUSL
|
|
+#define LINK_SSP_SPEC "-lssp_nonshared"
|
|
+#elif defined(TARGET_LIBC_PROVIDES_SSP)
|
|
#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \
|
|
"|fstack-protector-strong|fstack-protector-explicit:}"
|
|
#else
|