codetools: fpc src rules: fixed using rules for CPU

git-svn-id: trunk@48320 -
This commit is contained in:
mattias 2015-03-12 23:40:55 +00:00
parent 6bb6966509
commit b05cc70e59

View File

@ -1869,7 +1869,7 @@ begin
// get default targets
if Rules=nil then Rules:=DefaultFPCSourceRules;
Targets:=Rules.GetDefaultTargets(TargetOS,TargetOS);
Targets:=Rules.GetDefaultTargets(TargetOS,TargetCPU);
TargetRules:=nil;
Links:=TAVLTree.Create(@CompareUnitNameLinks);