summaryrefslogtreecommitdiffstats
path: root/platform/osx/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-10-15 12:41:42 +0200
committerGitHub <noreply@github.com>2021-10-15 12:41:42 +0200
commit25f89a847c2d7c5d3d36af28d4ef44f050afc0da (patch)
tree3a73e14679e165bfcbbb3415dfe65fcff9232f69 /platform/osx/detect.py
parente2bfb27efb858c4a1314d314386531cbcdfcf335 (diff)
parentcd21cc683a565a775b31aad4bd1e61d6c791d5ed (diff)
downloadredot-engine-25f89a847c2d7c5d3d36af28d4ef44f050afc0da.tar.gz
Merge pull request #53827 from akien-mga/scons-debug-dev-enabled-sconstruct
Diffstat (limited to 'platform/osx/detect.py')
-rw-r--r--platform/osx/detect.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py
index 10cf2b591e..3f967781b2 100644
--- a/platform/osx/detect.py
+++ b/platform/osx/detect.py
@@ -57,14 +57,11 @@ def configure(env):
env.Prepend(CCFLAGS=["-O2"])
elif env["optimize"] == "size": # optimize for size
env.Prepend(CCFLAGS=["-Os"])
- env.Prepend(CPPDEFINES=["DEBUG_ENABLED"])
if env["debug_symbols"]:
env.Prepend(CCFLAGS=["-g2"])
elif env["target"] == "debug":
env.Prepend(CCFLAGS=["-g3"])
- env.Prepend(CPPDEFINES=["DEBUG_ENABLED"])
- env.Prepend(CPPDEFINES=["DEV_ENABLED"])
env.Prepend(LINKFLAGS=["-Xlinker", "-no_deduplicate"])
## Architecture