mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 20:39:14 +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';
|
switches := switches + ' -CX';
|
||||||
if RelocatableUnit and (CurSrcOS='win') then
|
if RelocatableUnit and (CurSrcOS='win') then
|
||||||
switches := switches + ' -WR';
|
switches := switches + ' -WR';
|
||||||
if (CurTargetOS='linux') or (CurTargetOS='freebsd') or (CurTargetOS='netbsd')
|
if (not (ccloNoMacroParams in Flags))
|
||||||
or (CurTargetOS='openbsd') or (CurTargetOS='solaris') then
|
and ((CurTargetOS='linux') or (CurTargetOS='freebsd') or (CurTargetOS='netbsd')
|
||||||
|
or (CurTargetOS='openbsd') or (CurTargetOS='solaris'))
|
||||||
|
then
|
||||||
switches := switches + ' -Cg'; // see bug 17412
|
switches := switches + ' -Cg'; // see bug 17412
|
||||||
|
|
||||||
{ Checks }
|
{ Checks }
|
||||||
|
Loading…
Reference in New Issue
Block a user