IDE, lazbuild: pass -Cg only for x86-64, linux, *bsd, solaris

git-svn-id: trunk@46910 -
This commit is contained in:
mattias 2014-11-20 22:13:31 +00:00
parent 41e211ac48
commit 65736c481f

View File

@ -2799,6 +2799,7 @@ begin
if RelocatableUnit and (CurSrcOS='win') then
switches := switches + ' -WR';
if (not (ccloNoMacroParams in Flags))
and (CurTargetCPU='x86_64')
and ((CurTargetOS='linux') or (CurTargetOS='freebsd') or (CurTargetOS='netbsd')
or (CurTargetOS='openbsd') or (CurTargetOS='solaris'))
then