Merge pull request #133291 from raboof/sdcc-honour-dontStrip

sdcc: honour dontStrip
This commit is contained in:
Dmitry Kalinkin 2021-08-09 20:40:46 -04:00 committed by GitHub
commit d7b436eac2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
configureFlags = map (f: "--disable-${f}-port") excludedPorts;
preConfigure = ''
if test -n "''${dontStrip-}"; then
export STRIP=none
fi
'';
meta = {
description = "Small Device C Compiler";
longDescription = ''