summaryrefslogtreecommitdiffstats
path: root/meta/site/common-uclibc
Commit message (Collapse)AuthorAgeFilesLines
* site: add xorg_cv_malloc0_returns_nullRoss Burton2013-12-141-0/+3
| | | | | | | | | | | | | | | | | util-macros 1.18 will look in the autoconf cache for this value so instead of using overrides in xorg-lib-common, use the per-libc site cache. Alert readers may notice that the site file claims that glibc returns NULL from malloc(), when the previous change (e628c8aba0189de30de2833882b9999ff3b6547a) claimed that it didn't. The previous change was incorrect, whilst malloc(0) returns a valid pointer, realloc(p,0) does in fact return NULL, so the Xlib wrapper functions are needed. (From OE-Core rev: ecbf3f81f6d2929921e57066c2dd327d41d8e286) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/common-uclibc: add predefined configure vars for coreutilsHenning Heinold2013-04-051-0/+5
| | | | | | | | | | * this sets some configure vars which will be guessed false in cross-compile case for uclibc (From OE-Core rev: c5337326005c975425b1eb2b62796e9b33f72ac3) Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "site/common-uclibc: Cache gl_cv_func_wcwidth_works"Richard Purdie2012-01-101-1/+0
| | | | | | This reverts commit a471d342424502de48f28c4f8297d490f2cd1443. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/common-uclibc: Cache gl_cv_func_wcwidth_worksKhem Raj2012-01-101-0/+1
| | | | | | | | | | | | | | | | | Its not computed properly during configure and we configure uclibc with widechar support anyway so its fine to cache it. It fixes the errors like | In file included from ./stdio.h:31:0, | from fpurge.h:20, | from fpurge.c:20: | /home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/sysroots/qemux86/usr/include/stdio.h:662:40: error: expected declaration specifiers or '...' before '(' token | make[4]: *** [fpurge.o] Error 1 (From OE-Core rev: a471d342424502de48f28c4f8297d490f2cd1443) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: fix qsort_t testing for uclibcHenning Heinold2011-11-181-0/+1
| | | | | | | | | | | | | | * instead of disabling the configure test and set it always true use the site files to set it true for glibc/eglibc and false for uclibc * remove the patch ' tested only for uclibc * bump PR (From OE-Core rev: 812342e44e9e361a0fa93cfcfe65cf4dd6f2fb57) Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Give coreutils a chance to build the df utilityJulian Pidancet2011-10-271-0/+3
| | | | | | | | | | | | | | | | The coreutils configure script is unable determine how to get free space from the Operating System when cross-compiling. This changes caches the result of the "statfs2_bsize" test for the coreutils configure script. Both glibc and uclibc defines statfs as a two-argument function and uses a struct statfs containing a f_bsize field. That's why the fu_cv_sys_stat_statfs2_bsize variable has to be defined for both libcs. (From OE-Core rev: fa1eb21933a880aa20e4ca87574753b1ec272c3b) Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Add posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r to uclibcTom Rini2011-08-041-0/+5
| | | | | | | | | | This comes from oe.dev and while at this, drop from powerpc-linux as the common-libc files set them. (From OE-Core rev: 372795274267cff164ccdc9b8d44e5dc580ae5ad) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various siteinfo files: Consolidate va_copy/__va_copy/va_val_copyTom Rini2011-08-041-0/+6
| | | | | | | | | | | | Providing va_copy / __va_copy come down to the libc. va_val_copy comes down to the architecture. Unfortunately it's assumed true if not set, so we need to make sure to set this to false for x86_64 where it is not true. (From OE-Core rev: a54a803ed89969c2416bfa9d911fe4cf558e2391) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various siteinfo files: Consolidate ac_cv_func_getaddrinfoTom Rini2011-08-041-0/+1
| | | | | | | | | | | This is a libc feature, move there. Drop the ipsec-tools specific test as ipsec-tools (a) assumes fine on cross-compile and (b) doesn't support buggy getaddrinfo now. (From OE-Core rev: bca50524921a870bf774e23973a834f20701f146) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Move (getpgrp|setpgrp|setgrent|*get{pwuid,grgid}) to common-libcTom Rini2011-07-271-0/+7
| | | | | | | | | | These functions are determined by the C library so move them to common-glibc and common-uclibc (From OE-Core rev: 9226635ab28b5ca44ec04931d27c5c3313d56e61) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* siteinfo: Move general realloc/malloc values to common-$libcTom Rini2011-07-271-0/+4
| | | | | | | | | | | | These are tests for glibc behavior which we have enabled in uclibc. Note that if we ever disable MALLOC_GLIBC_COMPAT the uclibc tests will need to be changed (but I believe this would also entail massive patching to the rest of userspace so this should be unlikely). (From OE-Core rev: cab512d7ee50fb55b9412c0e1a52a589de09e0a7) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* site/common-uclibc: Add some extra entriesRichard Purdie2008-06-261-0/+8
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4737 311d38ba-8fff-0310-9ca6-ca027cbcb966
* site: sync with OEMarcin Juszkiewicz2007-10-191-0/+3
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2923 311d38ba-8fff-0310-9ca6-ca027cbcb966
* site: Sync ARM changes with OE (creation of common ARM site file)Richard Purdie2007-05-271-0/+6
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1792 311d38ba-8fff-0310-9ca6-ca027cbcb966