summaryrefslogtreecommitdiffstats
path: root/platform/ios/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-08-04 17:04:07 +0200
committerGitHub <noreply@github.com>2023-08-04 17:04:07 +0200
commitcc6a60913aaba2e41c87741ecc5a6a37835320a4 (patch)
treeeda6af768142419bf84e2bb844f3e49390c786d7 /platform/ios/detect.py
parentbf299233bc7644867c0bb070c18a5137edf9ce94 (diff)
parent2c9b7fc7a805bdf892a0c246db260939b15e0411 (diff)
downloadredot-engine-cc6a60913aaba2e41c87741ecc5a6a37835320a4.tar.gz
Merge pull request #78325 from akien-mga/libpng-moar-intrinsics
libpng: Enable intrinsics on x86/SSE2, ppc64/VSX, and all arm/NEON
Diffstat (limited to 'platform/ios/detect.py')
-rw-r--r--platform/ios/detect.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/platform/ios/detect.py b/platform/ios/detect.py
index f5501e3d85..a01f4b55db 100644
--- a/platform/ios/detect.py
+++ b/platform/ios/detect.py
@@ -85,19 +85,18 @@ def configure(env: "Environment"):
env["ENV"]["PATH"] = env["IOS_TOOLCHAIN_PATH"] + "/Developer/usr/bin/:" + env["ENV"]["PATH"]
compiler_path = "$IOS_TOOLCHAIN_PATH/usr/bin/${ios_triple}"
- s_compiler_path = "$IOS_TOOLCHAIN_PATH/Developer/usr/bin/"
ccache_path = os.environ.get("CCACHE")
if ccache_path is None:
env["CC"] = compiler_path + "clang"
env["CXX"] = compiler_path + "clang++"
- env["S_compiler"] = s_compiler_path + "gcc"
+ env["S_compiler"] = compiler_path + "clang"
else:
# there aren't any ccache wrappers available for iOS,
# to enable caching we need to prepend the path to the ccache binary
env["CC"] = ccache_path + " " + compiler_path + "clang"
env["CXX"] = ccache_path + " " + compiler_path + "clang++"
- env["S_compiler"] = ccache_path + " " + s_compiler_path + "gcc"
+ env["S_compiler"] = ccache_path + " " + compiler_path + "clang"
env["AR"] = compiler_path + "ar"
env["RANLIB"] = compiler_path + "ranlib"