mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 14:49:59 +02:00
Applied patch from Vincent Snijders
git-svn-id: trunk@4732 -
This commit is contained in:
parent
9077473f14
commit
6526725baa
@ -2591,8 +2591,12 @@ begin
|
||||
// get all usage options
|
||||
AddOptionsList:=GetUsageOptionsList(PkgList);
|
||||
PkgList.Free;
|
||||
// combine options of same type
|
||||
GatherInheritedOptions(AddOptionsList,InheritedOptionStrings);
|
||||
if AddOptionsList<>nil then begin
|
||||
// combine options of same type
|
||||
GatherInheritedOptions(AddOptionsList,InheritedOptionStrings);
|
||||
AddOptionsList.Free;
|
||||
end;
|
||||
|
||||
// convert options to compiler parameters
|
||||
Result:=InheritedOptionsToCompilerParameters(InheritedOptionStrings,[]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user