mirror of
https://github.com/pmmp/musl-cross-make.git
synced 2025-02-24 09:35:00 +00:00
new patch: 0017-c++-abi-break.diff fixes a C++ ABI break regression. 0010-static-pie-support.diff was removed as it doesn't apply anymore, and forward-porting it requires arcane knowledge of GCC details. the patches 0018 and 0019 have been copied from GCC 7.3.0. the static pie patch from GCC 6.4.0, renumbered 0020, depends on the reversions they make.
14 lines
398 B
Diff
14 lines
398 B
Diff
diff --git a/gcc/config/linux.c b/gcc/config/linux.c
|
|
index 250296b..16c3768 100644
|
|
--- a/gcc/config/linux.c
|
|
+++ b/gcc/config/linux.c
|
|
@@ -26,7 +26,7 @@ along with GCC; see the file COPYING3. If not see
|
|
bool
|
|
linux_libc_has_function (enum function_class fn_class)
|
|
{
|
|
- if (OPTION_GLIBC)
|
|
+ if (OPTION_GLIBC || OPTION_MUSL)
|
|
return true;
|
|
if (OPTION_BIONIC)
|
|
if (fn_class == function_c94
|