Be a little more careful about the use of SSE.

We really need to adopt the GCC model of one instruction set
per compilation unit.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6965 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-29 11:40:20 +00:00
parent d5e5730fef
commit 1287a9bb9f
5 changed files with 21 additions and 26 deletions

View File

@ -121,6 +121,7 @@ if sys.platform == 'darwin':
env['CCFLAGS'] += ccld
env['CCFLAGS'] += ['-Wextra-tokens', '-Wnewline-eof']
env['CCFLAGS'] += ['-march=core2', '-mdynamic-no-pic']
env['CCFLAGS'] += ['-Xarch_i386', '-msse3', '-Xarch_x86_64', '-mssse3']
env['CC'] = 'llvm-gcc'
env['CXX'] = 'llvm-g++'
env['CXXFLAGS'] += ['-x', 'objective-c++']
@ -330,8 +331,14 @@ dirs = [
'Externals/SFML/src',
#'Externals/wxWidgets',
'Externals/zlib',
'Source/Plugins/Plugin_VideoOGL/Src',
#'Source/Plugins/Plugin_VideoSoftware/Src',
]
if sys.platform == 'darwin':
dirs += ['Source/Plugins/Plugin_VideoOGL/Src']
else:
dirs += ['Source/Plugins/Plugin_VideoSoftware/Src']
dirs += [
'Source/Core/AudioCommon/Src',
'Source/Core/Common/Src',
'Source/Core/Core/Src',