mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 05:42:55 +00:00
you can now use scons debug=1 for -g and -DLOGGING while regular
build is with -O3 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@577 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
0bf262cc16
commit
e4271b82da
@ -17,8 +17,6 @@ warnings = [
|
|||||||
#'unreachable-code',
|
#'unreachable-code',
|
||||||
]
|
]
|
||||||
compileFlags = [
|
compileFlags = [
|
||||||
# '-g',
|
|
||||||
'-O3',
|
|
||||||
'-fno-strict-aliasing',
|
'-fno-strict-aliasing',
|
||||||
'-msse2',
|
'-msse2',
|
||||||
'-D_FILE_OFFSET_BITS=64',
|
'-D_FILE_OFFSET_BITS=64',
|
||||||
@ -74,6 +72,13 @@ if sys.platform == 'darwin':
|
|||||||
|
|
||||||
lib_paths = include_paths
|
lib_paths = include_paths
|
||||||
|
|
||||||
|
debug = ARGUMENTS.get('debug', 0)
|
||||||
|
if int(debug):
|
||||||
|
compileFlags.append('-g')
|
||||||
|
compileFlags.append('-DLOGGING')
|
||||||
|
else:
|
||||||
|
compileFlags.append('-O3')
|
||||||
|
|
||||||
env = Environment(
|
env = Environment(
|
||||||
CC = "gcc",
|
CC = "gcc",
|
||||||
CXX = "g++",
|
CXX = "g++",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user