]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/objc-abi/Makefile
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / objc-abi / Makefile
index d7eb66053a5bd140da28235d7ca77c876ae743ff..464011268a65e1db638dcdcc8c507af60a103d95 100644 (file)
@@ -35,15 +35,14 @@ endif
 run: ${ALL}
 
 all:
-       ${PASS_IFF_GOOD_MACHO} /usr/bin/true
+       ${PASS_IFF} /usr/bin/true
 
 all-i386:
-       ${CC} ${CCFLAGS} test.m -framework Foundation -o test1
-       size -l test1 | grep __image_info | ${FAIL_IF_EMPTY}
-       ${CC} ${CCFLAGS} test.m -fobjc-abi-version=2 -Wl,-objc_abi_version,2 -framework Foundation -o test2
-       size -l test2 | grep __objc_imageinfo | ${FAIL_IF_EMPTY}
+       ${CC} ${CCFLAGS} test.m -framework Foundation -o test1 -Wno-objc-root-class
+       size -m -l test1 | grep __image_info | ${FAIL_IF_EMPTY}
+       ${CC} ${CCFLAGS} test.m -Wno-objc-root-class -fobjc-abi-version=2 -Wl,-objc_abi_version,2 -framework Foundation -o test2
+       size -m -l test2 | grep __objc_imageinfo | ${FAIL_IF_EMPTY}
        ${PASS_IFF_GOOD_MACHO} test2
-       
-       
+
 clean:
        rm -rf test1 test2