DescriptioniOS: Fix -msse warnings when building libwebp.
iOS still uses Xcode for building, and in Xcode it's possible to switch
between device and simulator builds in the IDE -- so target_arch can't be
known at gyp time for iOS, it could be either ARM or x86.
In pratice, target_arch seems to be some x86 arch, and hence the iOS bots
complain `argument unused during compilation: '-msse2'` when doing device
builds.
Since performance in the simulator isn't critical, just disable the SSE
codepath in iOS builds. (GN doesn't have this problem since it doesn't support
generating Xcode projects, so don't touch that.)
BUG=573779
Committed: https://crrev.com/733d91de9d641917d15ebd0fbb7d153b1474ede3
Cr-Commit-Position: refs/heads/master@{#367309}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|