sdcc: honour dontStrip
even with 'dontStrip', the sdcc binary was stipped anyway. specifying STRIP=none will convince ./configure to use 'none' as the strip tool, which 'make install' conveniently ignores.
This commit is contained in:
parent
0dde103318
commit
12e3001dad
|
@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
configureFlags = map (f: "--disable-${f}-port") excludedPorts;
|
configureFlags = map (f: "--disable-${f}-port") excludedPorts;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
if test -n "''${dontStrip-}"; then
|
||||||
|
export STRIP=none
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Small Device C Compiler";
|
description = "Small Device C Compiler";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in a new issue