summaryrefslogtreecommitdiffstats
path: root/recipes/glibc/glibc-2.3.2/glibc22-m68k-fpic.patch
blob: 8ff5ece2f747fb9367234c401ed4152173e9e5b3 (plain)
1
2
3
4
5
6
7
8
9
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