From 9e7357192f5b635576a412aba335a2677ea5964c Mon Sep 17 00:00:00 2001 From: Jamie Lenehan Date: Fri, 7 Jul 2006 06:56:37 +0000 Subject: 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. --- packages/glibc/glibc-2.4/no-z-defs.patch | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 packages/glibc/glibc-2.4/no-z-defs.patch (limited to 'packages/glibc/glibc-2.4/no-z-defs.patch') 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 -- cgit v1.2.3