mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
useGoldLinker: Don't set dontStrip
Probably caused by a bad cut&paste...
This commit is contained in:
parent
c5a7ff0afd
commit
7a05d33386
|
@ -288,7 +288,6 @@ rec {
|
||||||
/* Modify a stdenv so that it uses the Gold linker. */
|
/* Modify a stdenv so that it uses the Gold linker. */
|
||||||
useGoldLinker = stdenv: stdenv //
|
useGoldLinker = stdenv: stdenv //
|
||||||
{ mkDerivation = args: stdenv.mkDerivation (args // {
|
{ mkDerivation = args: stdenv.mkDerivation (args // {
|
||||||
dontStrip = true;
|
|
||||||
NIX_CFLAGS_LINK = toString (args.NIX_CFLAGS_COMPILE or "") + " -fuse-ld=gold";
|
NIX_CFLAGS_LINK = toString (args.NIX_CFLAGS_COMPILE or "") + " -fuse-ld=gold";
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue