diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-08-21 09:49:03 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-08-21 09:49:03 +0000 |
commit | ed006c03d260828b03f93b3f6840d1a4d2163d01 (patch) | |
tree | 08c374701b15478adf6bf4916b51caad44feef67 /packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch | |
parent | e818a5d0aa7022b0b4857add403e7953ed3534f7 (diff) | |
parent | 60de79c7bae656914aa42424a1bb9cd7f0f62047 (diff) |
merge of '4c4e69889620b924d4a3277e83211f6f7f066c8c'
and '7fd15622321922163aab9fa955236c9a25de2e65'
Diffstat (limited to 'packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch')
-rw-r--r-- | packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch b/packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch new file mode 100644 index 0000000000..6f79c789d0 --- /dev/null +++ b/packages/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch @@ -0,0 +1,34 @@ +Source: http://www.nabble.com/-PATCH--uclibc-extern-inline-td14223616.html + +Description: + +Needed for uclibc-0.9.29 to compile with gcc 4.3.1 + +You get this error without + +libc/libc_so.a(libc_pthread_init.oS): In function `testandset': +libc_pthread_init.c:(.text+0x0): multiple definition of `testandset' +libc/libc_so.a(forward.oS):forward.c:(.text+0x0): first defined here +libc/libc_so.a(rpc_thread.oS): In function `testandset': +rpc_thread.c:(.text+0x0): multiple definition of `testandset' +libc/libc_so.a(forward.oS):forward.c:(.text+0x0): first defined here +make[1]: *** [lib/libc.so] Error 1 +make: *** [lib/libc.so.0] Error 2 + + +--- + Rules.mak | 1 + + 1 file changed, 1 insertion(+) + +Index: uClibc-0.9.29/Rules.mak +=================================================================== +--- uClibc-0.9.29.orig/Rules.mak 2008-08-19 13:43:56.000000000 -0700 ++++ uClibc-0.9.29/Rules.mak 2008-08-19 13:45:04.000000000 -0700 +@@ -402,6 +402,7 @@ CFLAGS += -DSTATIC + endif + + CFLAGS += $(call check_gcc,-std=gnu99,) ++CFLAGS += $(call check_gcc,-fgnu89-inline,) + + LDFLAGS_NOSTRIP:=$(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc + # binutils-2.16.1 warns about ignored sections, 2.16.91.0.3 and newer are ok |