summaryrefslogtreecommitdiffstats
path: root/uclibc
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2011-01-16 18:05:42 +0100
committerLukc <lukc@upyum.com>2011-01-16 18:07:39 +0100
commitc322c3e0b4383307c6bcc8dc4639851021899f72 (patch)
tree4f467e1aa5fe8e1e7303dfd15d4741f6357b6bd2 /uclibc
parentdfc46bdad1822b547ec0636dd35e1ffbd1cd869a (diff)
downloadbase-c322c3e0b4383307c6bcc8dc4639851021899f72.tar.gz
base-c322c3e0b4383307c6bcc8dc4639851021899f72.tar.bz2
base-c322c3e0b4383307c6bcc8dc4639851021899f72.tar.xz
base-c322c3e0b4383307c6bcc8dc4639851021899f72.zip
Support des « old linux threads » dans uClibc.
(les « new » plantaient à la compilation)
Diffstat (limited to 'uclibc')
-rw-r--r--uclibc/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/uclibc/Pkgfile b/uclibc/Pkgfile
index 49b5d64..8b7700b 100644
--- a/uclibc/Pkgfile
+++ b/uclibc/Pkgfile
@@ -48,10 +48,11 @@ function build {
sed -i -e "s:^RUNTIME_PREFIX=.*:RUNTIME_PREFIX=\"\":" .config
sed -i -e "s:^DEVEL_PREFIX=.*:DEVEL_PREFIX=\"$prefix\":" .config
# XXX: Volé de Gentoo, mais insuffisant. Il faut voler plus de code
- # pour que ça marche mieux.
- for def in UCLIBC_HAS_IPV6 MALLOC_GLIBC_COMPAT DO_C99_MATH UCLIBC_HAS_{RPC,FULL_RPC,CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC,FTW} UCLIBC_HAS_REENTRANT_RPC UCLIBC_HAS_GNU_GLOB PTHREADS_DEBUG_SUPPORT UCLIBC_HAS_TZ_FILE_READ_MANY UCLIBC_HAS_FENV UCLIBC_SUSV3_LEGACY UCLIBC_SUSV3_LEGACY_MACROS UCLIBC_HAS_PROGRAM_INVOCATION_NAME ; do
+ # pour que ça marche mieux. (et nettoyer, après)
+ for def in LINUXTHREADS_OLD UCLIBC_HAS_THREADS UCLIBC_HAS_IPV6 MALLOC_GLIBC_COMPAT DO_C99_MATH UCLIBC_HAS_{RPC,FULL_RPC,CTYPE_CHECKED,WCHAR,HEXADECIMAL_FLOATS,GLIBC_CUSTOM_PRINTF,FOPEN_EXCLUSIVE_MODE,GLIBC_CUSTOM_STREAMS,PRINTF_M_SPEC,FTW} UCLIBC_HAS_REENTRANT_RPC UCLIBC_HAS_GNU_GLOB PTHREADS_DEBUG_SUPPORT UCLIBC_HAS_TZ_FILE_READ_MANY UCLIBC_HAS_FENV UCLIBC_SUSV3_LEGACY UCLIBC_SUSV3_LEGACY_MACROS UCLIBC_HAS_PROGRAM_INVOCATION_NAME ; do
sed -i -e "s/^${def}=.*/${def}=y/;s/# ${def} is not set/${def}=y/" .config
done
+ sed -i -e "s/^HAS_NO_THREADS=.*/# HAS_NO_THREADS is not set/" .config
yes "" | gmake oldconfig
gmake CROSS=${UCLIBC_CROSS} DESTDIR=$PKG install
}