]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/objc-class-alias/Makefile
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / objc-class-alias / Makefile
index 52840c9303087365619fe9bde771bfea3f69b0c3..0dda0e2b273590be2d20e22c7b8ddced0a79eb95 100644 (file)
@@ -26,12 +26,9 @@ include ${TESTROOT}/include/common.makefile
 #
 # Verify -alias works with ObjC classes
 #
 #
 # Verify -alias works with ObjC classes
 #
-CLASS_NAME_FOO = .objc_class_name_Foo
-ifeq (${ARCH},x86_64)
-       CLASS_NAME_FOO = '_OBJC_CLASS_$$_Foo'
-endif
-ifeq (${FILEARCH},arm)
-       CLASS_NAME_FOO = '_OBJC_CLASS_$$_Foo'
+CLASS_NAME_FOO = '_OBJC_CLASS_$$_Foo'
+ifeq (${ARCH},i386)
+       CLASS_NAME_FOO = .objc_class_name_Foo
 endif
 
 
 endif
 
 
@@ -42,6 +39,6 @@ all:
        ${DYLDINFO} -export test | grep ${CLASS_NAME_FOO} | awk '{ print $$1}' > foo.addr
        ${DYLDINFO} -export test | grep _MagicName | awk '{ print $$1}' > magic.addr
        ${PASS_IFF} diff foo.addr magic.addr 
        ${DYLDINFO} -export test | grep ${CLASS_NAME_FOO} | awk '{ print $$1}' > foo.addr
        ${DYLDINFO} -export test | grep _MagicName | awk '{ print $$1}' > magic.addr
        ${PASS_IFF} diff foo.addr magic.addr 
-       
+
 clean:
        rm -rf test foo.addr  magic.addr
 clean:
        rm -rf test foo.addr  magic.addr