]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/branch-distance/Makefile
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / branch-distance / Makefile
index 46472eeda5b0c1ae578489a4615f1be246a90a97..e2f7c30d024157ef91d74c13af25cb0f70ca4959 100644 (file)
@@ -35,9 +35,9 @@ run: all
 all:
        ${CC} ${CCFLAGS} foo.s -c 
        ${CC} ${CCFLAGS} bar.s -c 
-       ${CC} ${CCFLAGS} foo.o bar.o -e _foo -o foobar ${ARCH_FLAGS} -nostdlib 
+       ${CC} ${CCFLAGS} foo.o bar.o -e _foo -o foobar ${ARCH_FLAGS} -nostdlib -lSystem
        ${LD} -arch ${ARCH} -r foo.o bar.o -o foobar.o
-       ${CC} ${CCFLAGS} foobar.o -e _foo -o foobar2 ${ARCH_FLAGS} -nostdlib 
+       ${CC} ${CCFLAGS} foobar.o -e _foo -o foobar2 ${ARCH_FLAGS} -nostdlib -lSystem
        ${PASS_IFF_GOOD_MACHO} foobar
 
 clean: