]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/objc-abi/Makefile
ld64-236.3.tar.gz
[apple/ld64.git] / unit-tests / test-cases / objc-abi / Makefile
index d7eb66053a5bd140da28235d7ca77c876ae743ff..d563cd969f67f50949605fb7f5d11fb65a002f8b 100644 (file)
@@ -35,12 +35,12 @@ 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
+       ${CC} ${CCFLAGS} test.m -framework Foundation -o test1 -Wno-objc-root-class
        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
+       ${CC} ${CCFLAGS} test.m -Wno-objc-root-class -fobjc-abi-version=2 -Wl,-objc_abi_version,2 -framework Foundation -o test2
        size -l test2 | grep __objc_imageinfo | ${FAIL_IF_EMPTY}
        ${PASS_IFF_GOOD_MACHO} test2