mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Intel Macs: Provides fixes to help compile on Macs, thanks to tmator
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@104 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
22
SConstruct
22
SConstruct
@ -1,7 +1,11 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
ccflags = '-g -O3 -fno-strict-aliasing -fPIC -msse2 -Wall -DLOGGING -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE'
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
ccflags += ' -I/opt/local/include'
|
||||
|
||||
if False:
|
||||
ccflags += ' -fomit-frame-pointer'
|
||||
|
||||
@ -16,7 +20,22 @@ include_paths = ["../../../Core/Common/Src",
|
||||
# "../../../Plugins/Plugin_VideoOGL/Src/Windows",
|
||||
]
|
||||
|
||||
dirs = ["Source/Core/Common/Src",
|
||||
if sys.platform == 'darwin':
|
||||
dirs = ["Source/Core/Common/Src",
|
||||
"Externals/Bochs_disasm",
|
||||
"Source/Core/Core/Src",
|
||||
"Source/Core/DiscIO/Src",
|
||||
"Source/Core/DebuggerWX/src",
|
||||
"Source/Core/VideoCommon/Src",
|
||||
# "Source/Plugins/Plugin_VideoOGL/Src",
|
||||
"Source/Plugins/Plugin_DSP_NULL/Src",
|
||||
# "Source/Plugins/Plugin_DSP_LLE/Src",
|
||||
# "Source/Plugins/Plugin_PadSimple/Src",
|
||||
"Source/Plugins/Plugin_nJoy_SDL/Src",
|
||||
"Source/Core/DolphinWX/src",
|
||||
]
|
||||
else:
|
||||
dirs = ["Source/Core/Common/Src",
|
||||
"Externals/Bochs_disasm",
|
||||
"Source/Core/Core/Src",
|
||||
"Source/Core/DiscIO/Src",
|
||||
@ -30,6 +49,7 @@ dirs = ["Source/Core/Common/Src",
|
||||
"Source/Core/DolphinWX/src",
|
||||
]
|
||||
|
||||
|
||||
lib_paths = include_paths
|
||||
|
||||
env = Environment(CC="gcc",
|
||||
|
Reference in New Issue
Block a user