]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/archive-image_info/Makefile
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / archive-image_info / Makefile
index 5bb026fb4d0d225dba9f758fd729c8af576735d9..a13a0890a912d403fda5387b0b11fe8ecf3ad65a 100644 (file)
@@ -32,7 +32,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
 
@@ -43,7 +43,7 @@ all:
        ${CC} ${CCFLAGS} main.m -c -o main.o
        libtool -static main.o -o libmain.a
        ${CC} ${CCFLAGS} libmain.a -o main -framework Foundation
-       size -l main | grep ${IMAGE_INFO} | ${FAIL_IF_EMPTY}
+       size -m -l main | grep ${IMAGE_INFO} | ${FAIL_IF_EMPTY}
        ${PASS_IFF_GOOD_MACHO} main
 
 clean: