]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/objc-category-optimize/Makefile
ld64-133.3.tar.gz
[apple/ld64.git] / unit-tests / test-cases / objc-category-optimize / Makefile
index c452bec0284757d8ea4c62c6ced4a9c80abbb220..c395988affbf667939f4e86105e9e612d9a42505 100644 (file)
@@ -29,7 +29,11 @@ include ${TESTROOT}/include/common.makefile
 OPTIONS = 
 
 ifeq ($(ARCH),i386)
 OPTIONS = 
 
 ifeq ($(ARCH),i386)
-       OPTIONS = -fobjc-abi-version=2 -Wl,-objc_abi_version,2
+       OPTIONS = -fobjc-abi-version=2 -Wl,-objc_abi_version,2 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fobjc-legacy-dispatch
+endif
+
+ifeq ($(ARCH),arm)
+       OPTIONS = -isysroot=${IOS_SDK}
 endif
 
 all:   all-${ARCH}
 endif
 
 all:   all-${ARCH}
@@ -40,6 +44,7 @@ all-ppc:
 all-i386: all-rest
 all-x86_64: all-rest
 all-armv6: all-rest
 all-i386: all-rest
 all-x86_64: all-rest
 all-armv6: all-rest
+all-armv7: all-rest
 
 all-rest:
        # check optimization can be turned off
 
 all-rest:
        # check optimization can be turned off