diff options
author | Florian Boor <florian.boor@kernelconcepts.de> | 2008-07-25 10:04:40 +0000 |
---|---|---|
committer | Florian Boor <florian.boor@kernelconcepts.de> | 2008-07-25 10:04:40 +0000 |
commit | 9391c47983f98bba03c84a94d407177a5cbb6890 (patch) | |
tree | b5588a7806d3c2d511d540415452e0e873686793 /packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch | |
parent | d65f1724834111db986f7a13807a809c57b71496 (diff) | |
parent | d6bc4e97a03ac861f27cb3a2afafa374ccebe6ae (diff) |
merge of 'c0b80d25e48faf3cabe4d83d5586401a0a5e1188'
and 'c5251d02ae821f28febfb91fb76af9cd01b8f3fd'
Diffstat (limited to 'packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch')
-rw-r--r-- | packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch b/packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch new file mode 100644 index 0000000000..0f66c1526f --- /dev/null +++ b/packages/uclibc/uclibc-0.9.28/uclibc-libgcc-eh.patch @@ -0,0 +1,38 @@ +--- + Rules.mak | 9 +++++++-- + 1 file changed, 7 insertions(+), 2 deletions(-) + +Index: uClibc-0.9.28/Rules.mak +=================================================================== +--- uClibc-0.9.28.orig/Rules.mak 2005-08-17 15:49:49.000000000 -0700 ++++ uClibc-0.9.28/Rules.mak 2008-07-22 23:35:10.000000000 -0700 +@@ -37,7 +37,8 @@ + # will build uClibc for 'arm'. + + ifndef CROSS +-CROSS= ++TARGET_ARCH=arm ++CROSS=arm-angstrom-linux-uclibcgnueabi- + endif + CC = $(CROSS)gcc + AR = $(CROSS)ar +@@ -85,7 +86,8 @@ ifeq ($(filter $(noconfig_targets),$(MAK + endif + + ifndef CROSS +-CROSS=$(subst ",, $(strip $(CROSS_COMPILER_PREFIX))) ++TARGET_ARCH=arm ++CROSS=arm-angstrom-linux-uclibcgnueabi- + endif + + # A nifty macro to make testing gcc features easier +@@ -337,6 +339,9 @@ ASFLAGS += $(ASFLAGS_NOEXEC) + LIBGCC_CFLAGS ?= $(CFLAGS) $(CPU_CFLAGS-y) + LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name) + LIBGCC_DIR:=$(dir $(LIBGCC)) ++ifneq ($(shell $(CC) $(LIBGCC_CFLAGS) -print-file-name=libgcc_eh.a),libgcc_eh.a) ++ LIBGCC += $(shell $(CC) $(LIBGCC_CFLAGS) -print-file-name=libgcc_eh.a) ++endif + + ######################################## + # |