]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/slow-x86-stubs/Makefile
ld64-274.1.tar.gz
[apple/ld64.git] / unit-tests / test-cases / slow-x86-stubs / Makefile
index ee6a0e55aac244ebbb50a22192c018182d4db3bc..9bd440539d434ea4adcd950fd10404e9fee24479 100644 (file)
@@ -24,7 +24,7 @@ TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
 #
-# Sanity check that -slow_stubs for i386 leaves no __IMPORT segment
+# Sanity check that  i386 for 10.6 does not use  __IMPORT segment
 #
 
 run: all
@@ -32,10 +32,10 @@ run: all
 
 
 all:
-       ${CC} ${CCFLAGS} hello.c -o hello -Wl,-slow_stubs
-       size -l hello | grep __IMPORT | ${FAIL_IF_STDIN} 
-       ${CC} ${CCFLAGS} hello.c -dynamiclib -o libhello.dylib -Wl,-slow_stubs
-       size -l libhello.dylib | grep __IMPORT | ${FAIL_IF_STDIN}
+       ${CC} ${CCFLAGS} hello.c -o hello
+       size -m -l hello | grep __IMPORT | ${FAIL_IF_STDIN} 
+       ${CC} ${CCFLAGS} hello.c -dynamiclib -o libhello.dylib 
+       size -m -l libhello.dylib | grep __IMPORT | ${FAIL_IF_STDIN}
        ${PASS_IFF_GOOD_MACHO} hello
 
 clean: