mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 19:49:09 +02:00
* try to compile targets only in neutral state
git-svn-id: trunk@10561 -
This commit is contained in:
parent
a9c9ca0115
commit
c98bed6ae3
@ -3959,7 +3959,10 @@ begin
|
||||
if (T.TargetType in [ttUnit,ttProgram]) then
|
||||
begin
|
||||
if TargetOK(T) then
|
||||
MaybeCompile(APackage,T)
|
||||
begin
|
||||
if T.State=tsNeutral then
|
||||
MaybeCompile(APackage,T);
|
||||
end
|
||||
else
|
||||
begin
|
||||
if not(Defaults.CPU in T.CPUs) then
|
||||
|
Loading…
Reference in New Issue
Block a user