summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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