]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/lto-dylib-export_list/Makefile
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / lto-dylib-export_list / Makefile
index 0fa97cebed558874545c9657ac7bd15e257e0d14..c9b62e0cb733c41d258920401fb29c944a2b9e35 100644 (file)
@@ -35,7 +35,7 @@ run: all
 all:
        ${CXX} ${CXXFLAGS} -flto foo.cxx -c -o foo.o
        ${CXX} ${CXXFLAGS} -flto bar.cxx -c -o bar.o
-       ${CC} ${CCFLAGS} foo.o bar.o -dynamiclib -o libfoo.dylib -exported_symbols_list foo.exp
+       ${CXX} ${CXXFLAGS} foo.o bar.o -dynamiclib -o libfoo.dylib -exported_symbols_list foo.exp
        nm -m libfoo.dylib | grep "weak external" | ${FAIL_IF_STDIN}
        ${PASS_IFF_GOOD_MACHO} libfoo.dylib