aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/files/uclibc-check-ld-fix.patch
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-07-19 19:54:30 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-07-19 19:54:30 +0400
commit0df68f0e98c048b2ca501f4f9b7e920588a615c5 (patch)
tree6d6c20dc7052f621a537f6830c0ef96b817c091c /recipes/uclibc/files/uclibc-check-ld-fix.patch
parent63c45c7c049f978b0c155e7f00504d3d513b4070 (diff)
downloadopenembedded-0df68f0e98c048b2ca501f4f9b7e920588a615c5.tar.gz
openembedded-0df68f0e98c048b2ca501f4f9b7e920588a615c5.tar.bz2
openembedded-0df68f0e98c048b2ca501f4f9b7e920588a615c5.zip
uclibc: fix building for bfin architectureshared/blackfin
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'recipes/uclibc/files/uclibc-check-ld-fix.patch')
-rw-r--r--recipes/uclibc/files/uclibc-check-ld-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/uclibc/files/uclibc-check-ld-fix.patch b/recipes/uclibc/files/uclibc-check-ld-fix.patch
new file mode 100644
index 0000000000..48de925f29
--- /dev/null
+++ b/recipes/uclibc/files/uclibc-check-ld-fix.patch
@@ -0,0 +1,13 @@
+Index: uClibc-0.9.30/Rules.mak
+===================================================================
+--- uClibc-0.9.30.orig/Rules.mak 2009-07-19 14:09:46.842444177 +0400
++++ uClibc-0.9.30/Rules.mak 2009-07-19 14:10:00.962446173 +0400
+@@ -146,7 +146,7 @@
+ if $(CC) -Wa,$(1) -Wa,-Z -c -o /dev/null -xassembler /dev/null > /dev/null 2>&1; \
+ then echo "-Wa,$(1)"; fi)
+ check_ld=$(shell \
+- if $(LD) $(1) -o /dev/null -b binary /dev/null > /dev/null 2>&1; \
++ if $(LD) $(1) --oformat binary -o /dev/null -b binary /dev/null > /dev/null 2>&1; \
+ then echo "$(1)"; fi)
+
+ ARFLAGS:=cr