mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Disable FP contraction (iOS/visionOS)
This commit is contained in:
@@ -113,6 +113,8 @@ def configure(env: "SConsEnvironment"):
|
||||
env.Append(CCFLAGS=["-miphoneos-version-min=14.0"])
|
||||
detect_darwin_sdk_path(env["APPLE_PLATFORM"], env)
|
||||
|
||||
env.Append(CCFLAGS=["-ffp-contract=off"])
|
||||
|
||||
if env["arch"] == "x86_64":
|
||||
if not env["simulator"]:
|
||||
print_error("Building for iOS with 'arch=x86_64' requires 'simulator=yes'.")
|
||||
|
||||
@@ -114,6 +114,8 @@ def configure(env: "SConsEnvironment"):
|
||||
env.Append(CCFLAGS=["-mtargetos=xros26.0"])
|
||||
detect_darwin_sdk_path(env["APPLE_PLATFORM"], env)
|
||||
|
||||
env.Append(CCFLAGS=["-ffp-contract=off"])
|
||||
|
||||
if env["arch"] == "arm64":
|
||||
env.Append(
|
||||
CCFLAGS=(
|
||||
|
||||
Reference in New Issue
Block a user