* fixed warning in t_embed

git-svn-id: branches/z80@44819 -
This commit is contained in:
nickysn 2020-04-19 01:40:16 +00:00
parent 87eedbc264
commit 4b11433d63

View File

@ -1992,7 +1992,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
mapstr: TCmdStr;
success : boolean;
StaticStr,
GCSectionsStr,
// GCSectionsStr,
DynLinkStr,
StripStr,
FixedExeFileName: string;
@ -2025,7 +2025,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
Replace(cmdstr,'$STATIC',StaticStr);
Replace(cmdstr,'$STRIP',StripStr);
Replace(cmdstr,'$MAP',mapstr);
Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
// Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
Replace(cmdstr,'$DYNLINK',DynLinkStr);
end
else
@ -2035,7 +2035,7 @@ function TlinkerEmbedded_SdccSdld.MakeExecutable: boolean;
Replace(cmdstr,'$STATIC',StaticStr);
Replace(cmdstr,'$STRIP',StripStr);
Replace(cmdstr,'$MAP',mapstr);
Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
// Replace(cmdstr,'$GCSECTIONS',GCSectionsStr);
Replace(cmdstr,'$DYNLINK',DynLinkStr);
end;
success:=DoExec(FindUtil(utilsprefix+BinStr),cmdstr,true,false);