diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-08-20 15:38:50 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-08-20 16:58:20 +0300 |
commit | 69cf7d51c971f95df409b72b0695231a22037878 (patch) | |
tree | 3fefaba5aeb32d9910d9d3bf4a83886d8638df66 | |
parent | e642eec333b9a80b04a9c19290d959de1f0ae5ff (diff) |
Just look at $(CC) to find out which arch the tree is for
Change-Id: I0af01be14f992a4842d174f06815e65895f0ee69
-rw-r--r-- | ios/qa/sc/Makefile | 2 |
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 |