summaryrefslogtreecommitdiff
path: root/packages/glibc/glibc-2.4
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-07-07 06:56:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-07 06:56:37 +0000
commit9e7357192f5b635576a412aba335a2677ea5964c (patch)
tree61d1b4f232ca16a04ade1f98ab9918c7da87f98a /packages/glibc/glibc-2.4
parenta64033ce2a9d11b1336f7dee39203bbcee43f579 (diff)
glibc 2.4: To build glibc for sh we need to pass no-z-defs=yes via
configparams. Add a patch to do this so it builds for sh3 and sh4.
Diffstat (limited to 'packages/glibc/glibc-2.4')
-rw-r--r--packages/glibc/glibc-2.4/no-z-defs.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/glibc/glibc-2.4/no-z-defs.patch b/packages/glibc/glibc-2.4/no-z-defs.patch
new file mode 100644
index 0000000000..48c6a41267
--- /dev/null
+++ b/packages/glibc/glibc-2.4/no-z-defs.patch
@@ -0,0 +1,9 @@
+Create a configparms file which disabled no-z-defs.
+This is required to build a working glibs for sh4,
+without there will be a lot linker errors during the build.
+
+diff -duNr libc.orig/configparms libc/configparms
+--- libc.orig/configparms 1970-01-01 10:00:00.000000000 +1000
++++ libc/configparms 2006-02-23 14:08:18.000000000 +1100
+@@ -0,0 +1 @@
++no-z-defs=yes