mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Trying to disable the references to the bootstrap-tools libgcc
svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
This commit is contained in:
parent
db31cf8287
commit
3fa51ac56a
@ -17,6 +17,10 @@ stdenv.mkDerivation (rec {
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# As zlib takes part in the stdenv building, we don't want references
|
||||||
|
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
|
||||||
|
NIX_LDFLAGS = "-static-libgcc";
|
||||||
|
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
dontStrip = if static then true else false;
|
dontStrip = if static then true else false;
|
||||||
} // (if stdenv.cross.libc == "msvcrt" then {
|
} // (if stdenv.cross.libc == "msvcrt" then {
|
||||||
|
@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# As binutils takes part in the stdenv building, we don't want references
|
||||||
|
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
|
||||||
|
NIX_LDFLAGS = "-static-libgcc";
|
||||||
|
|
||||||
configureFlags = "--disable-werror" # needed for dietlibc build
|
configureFlags = "--disable-werror" # needed for dietlibc build
|
||||||
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
|
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
|
||||||
" --enable-fix-loongson2f-nop"
|
" --enable-fix-loongson2f-nop"
|
||||||
|
Loading…
Reference in New Issue
Block a user