OPTIONS =
ifeq ($(ARCH),i386)
- OPTIONS = -fobjc-abi-version=2 -Wl,-objc_abi_version,2
+ OPTIONS = -mios-simulator-version-min=6.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/
endif
all: all-${ARCH}
all-i386: all-rest
all-x86_64: all-rest
all-armv6: all-rest
+all-armv7: all-rest
all-rest:
- # check optimzation of category methods
+ # check optimization of category methods
${CC} ${CCFLAGS} ${OPTIONS} -dynamiclib foo.m cat1.m -framework Foundation -o libfoo.dylib
size -l libfoo.dylib | grep "__objc_catlist:" | ${FAIL_IF_EMPTY}
${PASS_IFF_GOOD_MACHO} libfoo.dylib