forked from mirrors/nixpkgs
* The postInstall attribute in default.nix did nothing, because
builder.sh already sets postInstall. As a result Glibc had a retained dependency on bootstrap-tools. Added the "rm" to builder.sh. * localesbuilder.sh -> locales-builder.sh. svn path=/nixpkgs/branches/stdenv-updates/; revision=19516
This commit is contained in:
parent
f33363a841
commit
a9634c0c5a
|
@ -27,6 +27,8 @@ postInstall() {
|
|||
if test -n "$is64bit"; then
|
||||
ln -s lib $out/lib64
|
||||
fi
|
||||
|
||||
rm $out/lib/libgcc_s.so.1
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -68,11 +68,11 @@ stdenv.mkDerivation ({
|
|||
"--enable-kernel=2.6.0"
|
||||
"--without-fp"
|
||||
"--with-__thread"
|
||||
] ++ (if (stdenv.system == "armv5tel-linux") then [
|
||||
] ++ stdenv.lib.optionals (stdenv.system == "armv5tel-linux") [
|
||||
"--host=arm-linux-gnueabi"
|
||||
"--build=arm-linux-gnueabi"
|
||||
"--without-fp"
|
||||
] else []);
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ];
|
||||
|
||||
|
|
|
@ -21,10 +21,6 @@ in
|
|||
ln -s ${stdenv.gcc.gcc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
rm $out/lib/libgcc_s.so.1
|
||||
'';
|
||||
|
||||
meta.description = "The GNU C Library";
|
||||
}
|
||||
|
||||
|
@ -36,10 +32,10 @@ in
|
|||
sed -i s/-lgcc_eh//g "../$sourceRoot/Makeconfig"
|
||||
|
||||
cat > config.cache << "EOF"
|
||||
libc_cv_forced_unwind=yes
|
||||
libc_cv_c_cleanup=yes
|
||||
libc_cv_gnu89_inline=yes
|
||||
EOF
|
||||
libc_cv_forced_unwind=yes
|
||||
libc_cv_c_cleanup=yes
|
||||
libc_cv_gnu89_inline=yes
|
||||
EOF
|
||||
export BUILD_CC=gcc
|
||||
export CC="$crossConfig-gcc"
|
||||
export AR="$crossConfig-ar"
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
inherit fetchurl stdenv;
|
||||
installLocales = true;
|
||||
|
||||
builder = ./localesbuilder.sh;
|
||||
builder = ./locales-builder.sh;
|
||||
|
||||
# Awful hack: `localedef' doesn't allow the path to `locale-archive'
|
||||
# to be overriden, but you *can* specify a prefix, i.e. it will use
|
||||
|
|
Loading…
Reference in a new issue