From 69cf7d51c971f95df409b72b0695231a22037878 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 20 Aug 2012 15:38:50 +0300 Subject: Just look at $(CC) to find out which arch the tree is for Change-Id: I0af01be14f992a4842d174f06815e65895f0ee69 --- ios/qa/sc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ios') 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 -- cgit