]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/dwarf-strip-objc/Makefile
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dwarf-strip-objc / Makefile
index 3812933337618f398dabbb23e5e55bdfb71fbaf4..cc236346a65f162a20462840d664261fbc71914d 100644 (file)
@@ -10,7 +10,7 @@ IMAGE_INFO = "__image_info"
 ifeq ($(ARCH),x86_64)
        IMAGE_INFO = "__objc_imageinfo"
 endif
-ifeq ($(ARCH),armv6)
+ifeq ($(FILEARCH),arm)
        IMAGE_INFO = "__objc_imageinfo"
 endif
 
@@ -21,7 +21,7 @@ run: all
 all:
        ${CC} ${CCFLAGS} -gdwarf-2 hello.m -c -o hello.o
        ${LD} -r -S hello.o -o hello-r.o
-       size -l hello-r.o | grep ${IMAGE_INFO} | ${PASS_IFF_STDIN}
+       size -m -l hello-r.o | grep ${IMAGE_INFO} | ${PASS_IFF_STDIN}