mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
djgpp: disable strip phase
stripping causes compilations to fail with: error adding symbols: Archive has no index; run ranlib to add one
This commit is contained in:
parent
1dd463e138
commit
099710163e
1 changed files with 4 additions and 0 deletions
|
@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
# stripping breaks static libs, causing this when you attempt to compile a binary:
|
||||
# error adding symbols: Archive has no index; run ranlib to add one
|
||||
dontStrip = true;
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
mkdir download; pushd download
|
||||
|
|
Loading…
Reference in a new issue