summaryrefslogtreecommitdiff
path: root/user/openjdk7/gcc-204-linux_libc_has_function.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-10-31 22:39:57 -0500
committerZach van Rijn <me@zv.io>2022-11-02 16:01:24 -0500
commitc5b882546f831beffaec290c7b5c6ee3b4efc258 (patch)
treeab443a31f04ce8e2a8d8d3b5bb177910641a7fa0 /user/openjdk7/gcc-204-linux_libc_has_function.patch
parentf501eba1775d96f4438e2086e4b66966f2ec06a8 (diff)
downloadpackages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.gz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.bz2
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.tar.xz
packages-c5b882546f831beffaec290c7b5c6ee3b4efc258.zip
[WIP] import from ppc64 test tree.
Diffstat (limited to 'user/openjdk7/gcc-204-linux_libc_has_function.patch')
-rw-r--r--user/openjdk7/gcc-204-linux_libc_has_function.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/openjdk7/gcc-204-linux_libc_has_function.patch b/user/openjdk7/gcc-204-linux_libc_has_function.patch
new file mode 100644
index 000000000..2dcedc3a7
--- /dev/null
+++ b/user/openjdk7/gcc-204-linux_libc_has_function.patch
@@ -0,0 +1,25 @@
+From edec78452d693fb524daa9a6efd45c850b27b25c Mon Sep 17 00:00:00 2001
+From: Szabolcs Nagy <nsz@port70.net>
+Date: Fri, 6 Nov 2015 23:59:20 +0000
+Subject: [PATCH 4/6] linux_libc_has_function
+
+---
+ gcc/config/linux.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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
+--
+2.8.1
+