Merge pull request #115765 from bruvzg/fp_ios
Disable FP contraction (iOS/visionOS)
This commit is contained in:
commit
3c5e561024
2 changed files with 4 additions and 0 deletions
|
|
@ -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=(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue