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:
ash lea 2024-01-08 16:13:07 -05:00
parent 1dd463e138
commit 099710163e

View file

@ -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