IDE,lazbuild: do not append -Cg in Makefiles

git-svn-id: trunk@46875 -
This commit is contained in:
mattias 2014-11-18 11:17:53 +00:00
parent b78a550572
commit 54eadbde1b

View File

@ -2798,8 +2798,10 @@ begin
switches := switches + ' -CX';
if RelocatableUnit and (CurSrcOS='win') then
switches := switches + ' -WR';
if (CurTargetOS='linux') or (CurTargetOS='freebsd') or (CurTargetOS='netbsd')
or (CurTargetOS='openbsd') or (CurTargetOS='solaris') then
if (not (ccloNoMacroParams in Flags))
and ((CurTargetOS='linux') or (CurTargetOS='freebsd') or (CurTargetOS='netbsd')
or (CurTargetOS='openbsd') or (CurTargetOS='solaris'))
then
switches := switches + ' -Cg'; // see bug 17412
{ Checks }