mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Disable aligned allocations on iOS armv7 targets due to lack of support. (#262)
This commit is contained in:
parent
75660ad579
commit
d1bbc1496a
@ -189,6 +189,11 @@ config("compiler") {
|
|||||||
"-arch",
|
"-arch",
|
||||||
"armv7",
|
"armv7",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Aligned allocation are only available on iOS 11 or above on armv7.
|
||||||
|
# Till we support older iOS version, disabled aligned allocations for this
|
||||||
|
# target architecture.
|
||||||
|
common_mac_flags += [ "-fno-aligned-allocation" ]
|
||||||
} else if (current_cpu == "arm64") {
|
} else if (current_cpu == "arm64") {
|
||||||
common_mac_flags += [
|
common_mac_flags += [
|
||||||
"-arch",
|
"-arch",
|
||||||
|
Loading…
Reference in New Issue
Block a user