]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/got-elimination/Makefile
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / got-elimination / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 3f70e74..e3b687b
@@ -1,5 +1,5 @@
 ##
-# Copyright (c) 2007 Apple Inc. All rights reserved.
+# Copyright (c) 2007-2008 Apple Inc. All rights reserved.
 #
 # @APPLE_LICENSE_HEADER_START@
 # 
@@ -27,9 +27,9 @@ include ${TESTROOT}/include/common.makefile
 # Check that ld can remove non-lazy pointers for x86_64
 #
 
-all: all-${ARCH}
+all: all-${FILEARCH}
 
-all-armv6: all-true
+all-arm: all-true
 
 all-ppc: all-true
 
@@ -42,7 +42,7 @@ all-true:
 
 all-x86_64:
        ${CC} ${CCFLAGS} foo.c bar.c -dynamiclib -o libfoobar.dylib 
-       otool -Iv libfoobar.dylib  | grep 0x | ${FAIL_IF_STDIN}
+       otool -Iv libfoobar.dylib  | grep 0x | grep _ | ${FAIL_IF_STDIN}
        ${CC} ${CCFLAGS} foo.c bar.c -dynamiclib -o libfoobar.dylib -flat_namespace
        otool -Iv libfoobar.dylib  | grep 0x | ${PASS_IFF_STDIN}