Skip to content

Commit

Permalink
iOS: Properly detect arm64 builds when choosing which -arch flags to …
Browse files Browse the repository at this point in the history
…pass

Change-Id: Ib410584ba2c1fe342efb18eb955273090d36db8f
Reviewed-by: Oswald Buddenhagen <[email protected]>
Reviewed-by: Simon Hausmann <[email protected]>
Reviewed-by: Tor Arne Vestbø <[email protected]>
  • Loading branch information
torarnv committed Oct 28, 2014
1 parent 27d79ce commit a8ed001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkspecs/macx-ios-clang/features/default_post.prf
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ macx-xcode {
QMAKE_MAC_XCODE_SETTINGS += arch_iphoneos arch_iphonesimulator
unset(QMAKE_XCODE_ARCHS)
} else {
# Be more specific about which architecture we're targeting
equals(QT_ARCH, arm): \
# Be more specific about which architecture we're targeting
contains(QT_ARCH, arm.*): \
actual_archs = $$QMAKE_IOS_DEVICE_ARCHS
else: \
actual_archs = $$QMAKE_IOS_SIMULATOR_ARCHS
Expand Down

0 comments on commit a8ed001

Please sign in to comment.