From dfadb4d959da4c63d0c634f0d50713f3fa679e50 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 2 Jan 2011 13:22:45 +0100 Subject: make bulk fixes. fix toolchain building for sparc64/ppc --- toolchain/glibc/patches/sparc64.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 toolchain/glibc/patches/sparc64.patch (limited to 'toolchain/glibc/patches') diff --git a/toolchain/glibc/patches/sparc64.patch b/toolchain/glibc/patches/sparc64.patch new file mode 100644 index 000000000..c8ff7ce9f --- /dev/null +++ b/toolchain/glibc/patches/sparc64.patch @@ -0,0 +1,21 @@ +diff -Nur glibc-2.12.1.orig/sysdeps/sparc/sparc64/Makefile glibc-2.12.1/sysdeps/sparc/sparc64/Makefile +--- glibc-2.12.1.orig/sysdeps/sparc/sparc64/Makefile 2010-07-27 13:34:39.000000000 +0200 ++++ glibc-2.12.1/sysdeps/sparc/sparc64/Makefile 2011-01-01 23:58:16.370676501 +0100 +@@ -1,3 +1,5 @@ ++sysdep-CFLAGS += -mcpu=v9 -Wa,-Av9a ++ + ifeq ($(subdir),csu) + sysdep_routines += hp-timing + elide-routines.os += hp-timing +@@ -10,3 +12,11 @@ + ifeq ($(subdir),string) + sysdep_routines += align-cpy + endif ++ ++ASFLAGS-.o += -Wa,-Av9a ++ASFLAGS-.os += -Wa,-Av9a ++ASFLAGS-.op += -Wa,-Av9a ++ASFLAGS-.og += -Wa,-Av9a ++ASFLAGS-.ob += -Wa,-Av9a ++ASFLAGS-.oS += -Wa,-Av9a ++ -- cgit v1.2.3