You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
libpng: Enable intrinsics on x86/SSE2, ppc64/VSX, and all arm/NEON
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user