mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
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
This commit is contained in:
parent
f08563efd9
commit
17d9888f3c
@ -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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user