From 65736c481f7b9ed6eed13dc0fe54a4a2c5becc7b Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 20 Nov 2014 22:13:31 +0000 Subject: [PATCH] IDE, lazbuild: pass -Cg only for x86-64, linux, *bsd, solaris git-svn-id: trunk@46910 - --- ide/compileroptions.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/ide/compileroptions.pp b/ide/compileroptions.pp index 769d67a345..05695b1b53 100644 --- a/ide/compileroptions.pp +++ b/ide/compileroptions.pp @@ -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