mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 10:59:29 +02:00
IDE,lazbuild: do not append -Cg in Makefiles
git-svn-id: trunk@46875 -
This commit is contained in:
parent
b78a550572
commit
54eadbde1b
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user