From 17d9888f3ca51b0c682861ee20d1a912ac18ad4e Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Fri, 21 Jan 2011 17:40:53 +0000 Subject: [PATCH] Use the LLVM branch of gcc, which produces better code. Suggested by celgilles. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6892 8ced0084-cf51-0410-be5f-012b33b47a6e --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index 6606dd17ee..a0bd096a5f 100644 --- a/SConstruct +++ b/SConstruct @@ -140,6 +140,8 @@ if sys.platform == 'darwin': env['SHLINKFLAGS'] += ['-Xarch_i386', '-Wl,-read_only_relocs,suppress'] if platform.mac_ver()[0] >= '10.6.0': + env['CC'] = "llvm-gcc-4.2 -ObjC" + env['CXX'] = "llvm-g++-4.2 -ObjC++" env['CCFLAGS'] += ['-Wextra-tokens', '-Wnewline-eof'] env['FRAMEWORKSFLAGS'] += ['-weak_framework', 'OpenCL']