summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-20 15:38:50 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-20 16:58:20 +0300
commit69cf7d51c971f95df409b72b0695231a22037878 (patch)
tree3fefaba5aeb32d9910d9d3bf4a83886d8638df66 /ios
parente642eec333b9a80b04a9c19290d959de1f0ae5ff (diff)
Just look at $(CC) to find out which arch the tree is for
Change-Id: I0af01be14f992a4842d174f06815e65895f0ee69
Diffstat (limited to 'ios')
-rw-r--r--ios/qa/sc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/qa/sc/Makefile b/ios/qa/sc/Makefile
index 41742148e8ff..8707dd49528c 100644
--- a/ios/qa/sc/Makefile
+++ b/ios/qa/sc/Makefile
@@ -5,7 +5,7 @@ APP=lo-qa-sc-filters-test
# If run from Xcode, check the CURRENT_ARCH env var for which platform we are
# building, device or simulator
-ifeq ($(CURRENT_ARCH),i386)
+ifneq (,$(filter i386,$(CC)))
PLATFORM=iphonesimulator
else
PLATFORM=iphoneos