diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch')
-rw-r--r-- | recipes/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch b/recipes/uclibc/uclibc-0.9.29/uclibc-use-fgnu89-inline.patch new file mode 100644 index 0000000000..6f79c789d0 --- /dev/null +++ b/recipes/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 |