mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
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:
11
SConstruct
11
SConstruct
@ -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',
|
||||
|
Reference in New Issue
Block a user