summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch')
-rw-r--r--packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch b/packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
index e69de29bb2..8ff5ece2f7 100644
--- a/packages/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
+++ b/packages/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