Little update on uclibc: enable ftw.
svn path=/nixpkgs/branches/stdenv-updates/; revision=20513
This commit is contained in:
parent
9665611c9e
commit
dfaee7994d
@ -31,12 +31,14 @@ stdenv.mkDerivation {
|
|||||||
sha256 = "0wr4hlybssiyswdc73wdcxr31xfbss3lnqiv5lcav3rg3v4r4vmb";
|
sha256 = "0wr4hlybssiyswdc73wdcxr31xfbss3lnqiv5lcav3rg3v4r4vmb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 'ftw' needed to build acl, a coreutils dependency
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
make defconfig ${archMakeFlag}
|
make defconfig ${archMakeFlag}
|
||||||
sed -e s@/usr/include@${linuxHeaders}/include@ \
|
sed -e s@/usr/include@${linuxHeaders}/include@ \
|
||||||
-e 's@^RUNTIME_PREFIX.*@RUNTIME_PREFIX="/"@' \
|
-e 's@^RUNTIME_PREFIX.*@RUNTIME_PREFIX="/"@' \
|
||||||
-e 's@^DEVEL_PREFIX.*@DEVEL_PREFIX="/"@' \
|
-e 's@^DEVEL_PREFIX.*@DEVEL_PREFIX="/"@' \
|
||||||
-e 's@.*UCLIBC_HAS_WCHAR.*@UCLIBC_HAS_WCHAR=y@' \
|
-e 's@.*UCLIBC_HAS_WCHAR.*@UCLIBC_HAS_WCHAR=y@' \
|
||||||
|
-e 's@.*UCLIBC_HAS_FTW.*@UCLIBC_HAS_FTW=y@' \
|
||||||
-e 's@.*DO_C99_MATH.*@DO_C99_MATH=y@' \
|
-e 's@.*DO_C99_MATH.*@DO_C99_MATH=y@' \
|
||||||
-e 's@.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*@UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y@' \
|
-e 's@.*UCLIBC_HAS_PROGRAM_INVOCATION_NAME.*@UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y@' \
|
||||||
${configArmEABI} \
|
${configArmEABI} \
|
||||||
|
Loading…
Reference in New Issue
Block a user