* try to compile targets only in neutral state

git-svn-id: trunk@10561 -
This commit is contained in:
peter 2008-03-25 17:14:39 +00:00
parent a9c9ca0115
commit c98bed6ae3

View File

@ -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