mirror of
https://github.com/Relintai/godot-mono-builds.git
synced 2025-02-04 16:16:04 +01:00
Disable DTrace when building with OSXCROSS
This commit is contained in:
parent
c662ffd863
commit
707eceebbc
@ -116,6 +116,9 @@ def setup_desktop_template(env: dict, opts: DesktopOpts, product: str, target_pl
|
|||||||
env['_%s-%s_RANLIB' % (product, target)] = name_fmt % 'ranlib'
|
env['_%s-%s_RANLIB' % (product, target)] = name_fmt % 'ranlib'
|
||||||
env['_%s-%s_CMAKE' % (product, target)] = name_fmt % 'cmake'
|
env['_%s-%s_CMAKE' % (product, target)] = name_fmt % 'cmake'
|
||||||
env['_%s-%s_STRIP' % (product, target)] = name_fmt % 'strip'
|
env['_%s-%s_STRIP' % (product, target)] = name_fmt % 'strip'
|
||||||
|
|
||||||
|
# DTrace is not available when building with OSXCROSS
|
||||||
|
CONFIGURE_FLAGS += ['--enable-dtrace=no']
|
||||||
else:
|
else:
|
||||||
env['_%s-%s_CC' % (product, target)] = 'cc'
|
env['_%s-%s_CC' % (product, target)] = 'cc'
|
||||||
|
|
||||||
|
4
ios.py
4
ios.py
@ -256,6 +256,10 @@ def setup_ios_simulator_template(env: dict, opts: iOSOpts, target: str):
|
|||||||
'--disable-crash-reporting'
|
'--disable-crash-reporting'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
if sys.platform != 'darwin':
|
||||||
|
# DTrace is not available when building with OSXCROSS
|
||||||
|
CONFIGURE_FLAGS += ['--enable-dtrace=no']
|
||||||
|
|
||||||
env['_ios-%s_AR' % target] = AR
|
env['_ios-%s_AR' % target] = AR
|
||||||
env['_ios-%s_AS' % target] = AS
|
env['_ios-%s_AS' % target] = AS
|
||||||
env['_ios-%s_CC' % target] = CC
|
env['_ios-%s_CC' % target] = CC
|
||||||
|
Loading…
Reference in New Issue
Block a user