mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:09:13 +02:00
* do not try to call cross compiler if host CPU was specified using -P parameter.
* tabs to spaces. git-svn-id: trunk@2768 -
This commit is contained in:
parent
ef36969ff6
commit
d48f512146
@ -177,7 +177,10 @@ program fpc;
|
||||
writeln(processorname);
|
||||
halt(0);
|
||||
end
|
||||
else if processorstr='i386' then
|
||||
else
|
||||
if processorstr <> processorname then
|
||||
begin
|
||||
if processorstr='i386' then
|
||||
cpusuffix:='386'
|
||||
else if processorstr='m68k' then
|
||||
cpusuffix:='68k'
|
||||
@ -199,6 +202,7 @@ program fpc;
|
||||
error('Illegal processor type "'+processorstr+'"');
|
||||
|
||||
ppcbin:='ppcross'+cpusuffix;
|
||||
end;
|
||||
end
|
||||
else
|
||||
ppccommandline:=ppccommandline+s+' ';
|
||||
|
Loading…
Reference in New Issue
Block a user