mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-03-13 02:26:59 +01:00

GCC 6.4.0 has one big advantage over 6.3.0: it is shipped as .tar.xz, shaving 30 MB from its download size, and also considerably speeding up the extraction process. All patches are copies of the GCC 6.3.0 ones, except 0004-posix_memalign.diff which was rebased to apply cleanly. 0014-ubsan-empty-string-fix.diff was removed, since it was upstreamed.
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
|