summaryrefslogtreecommitdiff
path: root/recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch')
-rw-r--r--recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch b/recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
new file mode 100644
index 0000000000..8ff5ece2f7
--- /dev/null
+++ b/recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
@@ -0,0 +1,10 @@
+--- glibc-2.2.3.orig/sysdeps/m68k/Makefile Fri Sep 5 03:40:38 1997
++++ glibc-2.2.3/sysdeps/m68k/Makefile Tue May 15 23:29:05 2001
+@@ -41,3 +41,7 @@
+ # Avoid a bug in gcc
+ CFLAGS-s_copysignl.c += -mnobitfield
+ endif
++
++# Build objects in libc_nonshared.a with -fPIC (instead of -fpic) to avoid
++# possible linkage problems.
++CFLAGS-.oS += -fPIC