mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
I wrote bad my attempt at -static-libgcc. Retrying.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30024
This commit is contained in:
parent
0b1f1a522c
commit
706b80c282
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ stdenv.mkDerivation (rec {
|
|||
|
||||
# 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";
|
||||
NIX_CFLAGS_COMPILE = "-static-libgcc";
|
||||
|
||||
crossAttrs = {
|
||||
dontStrip = if static then true else false;
|
||||
|
|
|
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
# 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";
|
||||
NIX_CFLAGS_COMPILE = "-static-libgcc";
|
||||
|
||||
configureFlags = "--disable-werror" # needed for dietlibc build
|
||||
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
|
||||
|
|
Loading…
Reference in a new issue