diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-10-24 17:34:18 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-10-24 20:37:56 +0300 |
commit | 7b64340eb008a11000518b9a15f15c673c7f2f25 (patch) | |
tree | dbc6b4fe838aadee91bbad208f9af153756e4d1d /platform/osx/detect.py | |
parent | 79dae3a87e1c8a66897fc1816059f39c8f25cde4 (diff) | |
download | redot-engine-7b64340eb008a11000518b9a15f15c673c7f2f25.tar.gz |
Fix compilation warnings in macOS build, enable `warnings=extra werror=yes` for macOS CI.
Diffstat (limited to 'platform/osx/detect.py')
-rw-r--r-- | platform/osx/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/osx/detect.py b/platform/osx/detect.py index 881ed05025..7882253e7a 100644 --- a/platform/osx/detect.py +++ b/platform/osx/detect.py @@ -91,6 +91,9 @@ def configure(env): env['RANLIB'] = mpprefix + "/libexec/llvm-" + mpclangver + "/bin/llvm-ranlib" env['AS'] = mpprefix + "/libexec/llvm-" + mpclangver + "/bin/llvm-as" env.Append(CPPDEFINES=['__MACPORTS__']) #hack to fix libvpx MM256_BROADCASTSI128_SI256 define + else: + env['CC'] = 'clang' + env['CXX'] = 'clang++' detect_darwin_sdk_path('osx', env) env.Append(CCFLAGS=['-isysroot', '$MACOS_SDK_PATH']) |