mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 21:49:09 +02:00
+ Patch from Vincent Snijders to fix CPU-specific installs
This commit is contained in:
parent
7c7f5740fe
commit
8312eddebb
@ -278,6 +278,7 @@ implementation
|
|||||||
function TMakefileWriter.CheckTargetVariable(const inivar:string):boolean;
|
function TMakefileWriter.CheckTargetVariable(const inivar:string):boolean;
|
||||||
var
|
var
|
||||||
t : TTarget;
|
t : TTarget;
|
||||||
|
c : TCpu;
|
||||||
begin
|
begin
|
||||||
result:=false;
|
result:=false;
|
||||||
if FInput.GetVariable(IniVar,false)<>'' then
|
if FInput.GetVariable(IniVar,false)<>'' then
|
||||||
@ -292,6 +293,13 @@ implementation
|
|||||||
result:=true;
|
result:=true;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
|
for c:=low(TCpu) to high(TCpu) do
|
||||||
|
if (c in FInput.IncludeCpus) and
|
||||||
|
(FInput.GetVariable(IniVar+CpuSuffix[c],false)<>'') then
|
||||||
|
begin
|
||||||
|
result:=true;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -955,7 +963,10 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.32 2004-07-12 06:42:52 michael
|
Revision 1.33 2004-08-01 08:12:07 michael
|
||||||
|
+ Patch from Vincent Snijders to fix CPU-specific installs
|
||||||
|
|
||||||
|
Revision 1.32 2004/07/12 06:42:52 michael
|
||||||
* Patch from peter to fix writing of target dir rules for cpu specific dirs
|
* Patch from peter to fix writing of target dir rules for cpu specific dirs
|
||||||
|
|
||||||
Revision 1.31 2004/07/11 18:58:19 peter
|
Revision 1.31 2004/07/11 18:58:19 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user