]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/dwarf-debug-notes/Makefile
ld64-127.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / dwarf-debug-notes / Makefile
index b4fa7ab5bee2d1c514a22b937d77df09c760113f..ea9dc56b7b44de748eddd48b209b9885ca9a9d63 100644 (file)
@@ -33,9 +33,9 @@ include ${TESTROOT}/include/common.makefile
 run: all
 
 all:
-       ${CXX} ${CCXXFLAGS} -gdwarf-2 hello.cxx -c -o hello.o -mdynamic-no-pic
-       ${CXX} ${CCXXFLAGS} -gdwarf-2 other.cxx -c -o other.o -mdynamic-no-pic
-       ${CXX} ${CCXXFLAGS} -gdwarf-2 hello.o other.o -o hello
+       ${CXX} ${CCXXFLAGS} -gdwarf-2 hello.cxx -c -o hello.o 
+       ${CXX} ${CCXXFLAGS} -gdwarf-2 other.cxx -c -o other.o 
+       ${CXX} ${CCXXFLAGS} -gdwarf-2 hello.o other.o -o hello -Wl,-order_file,hello.order
        ${FAIL_IF_BAD_MACHO} hello
        nm -ap hello | ./stabs-filter.pl > hello.stabs
        ${PASS_IFF} diff hello.stabs expected-stabs