]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/static-strip/Makefile.newtest
ld64-85.tar.gz
[apple/ld64.git] / unit-tests / test-cases / static-strip / Makefile.newtest
index 343855e430bcfd049a4490b097d1fea508ddf295..323200e7f3b6fb7036ec069b7cff28115ab55b67 100644 (file)
@@ -31,7 +31,7 @@ include ${TESTROOT}/include/common.makefile
 run: all
 
 all:
-       ${FAIL_IF_ERROR} ${CC} ${CCFLAGS} test.c -static -o test-${ARCH} -L/usr/local/lib/system -lc_static -lm_static
+       ${FAIL_IF_ERROR} ${CC} ${CCFLAGS} test.c -static -o test-${ARCH} -L/usr/local/lib/system -lc_static -lm_static -Wl,-new_linker
        ${FAIL_IF_BAD_MACHO} test-${ARCH}
        ${FAIL_IF_ERROR} strip test-${ARCH}
        ${PASS_IFF_GOOD_MACHO} test-${ARCH}