summaryrefslogtreecommitdiff
path: root/platform/macos/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-20 12:10:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-20 12:10:24 +0100
commitba9b26dfd843b80acbe07d647399b16a6790f8a0 (patch)
tree4c8b59d8aeae256d223c269b9412d081253a840c /platform/macos/detect.py
parent6d15948c68f1f0bcf150d33f5c956c152912b9d2 (diff)
parentaecfd92ea81f0c3024cff56139c908ce97cdc115 (diff)
Merge pull request #71719 from bruvzg/mac_warnings
[macOS] Move `Wno-deprecated-declarations` to pragmas in the OpenGL related files, update some deprecated code.
Diffstat (limited to 'platform/macos/detect.py')
-rw-r--r--platform/macos/detect.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/macos/detect.py b/platform/macos/detect.py
index 67e4b49b14..14e6e92bfa 100644
--- a/platform/macos/detect.py
+++ b/platform/macos/detect.py
@@ -231,7 +231,6 @@ def configure(env: "Environment"):
if env["opengl3"]:
env.Append(CPPDEFINES=["GLES_ENABLED", "GLES3_ENABLED"])
- env.Append(CCFLAGS=["-Wno-deprecated-declarations"]) # Disable deprecation warnings
env.Append(LINKFLAGS=["-framework", "OpenGL"])
env.Append(LINKFLAGS=["-rpath", "@executable_path/../Frameworks", "-rpath", "@executable_path"])