codetools: fpc src rules: fixed using rules for CPU

git-svn-id: branches/fixes_1_4@48321 -
This commit is contained in:
mattias 2015-03-12 23:41:29 +00:00
parent be0275fa99
commit 1beeaf066e

View File

@ -1860,7 +1860,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);