X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/a645023da60d22e86be13f7b4d97adeff8bc6665..afe874b1634377ecb27057ee76deb04915bb34d7:/unit-tests/test-cases/lto-dead_strip-tentative/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/lto-dead_strip-tentative/Makefile b/unit-tests/test-cases/lto-dead_strip-tentative/Makefile index fa0a02b..5a54bcf 100644 --- a/unit-tests/test-cases/lto-dead_strip-tentative/Makefile +++ b/unit-tests/test-cases/lto-dead_strip-tentative/Makefile @@ -27,17 +27,15 @@ include ${TESTROOT}/include/common.makefile # Link Time Optimization error with tentative defs and -dead_strip # -LLVMGCC = /Developer/usr/bin/llvm-gcc-4.2 -arch ${ARCH} -LLVMGXX = /Developer/usr/bin/llvm-g++-4.2 -arch ${ARCH} run: all all: - ${LLVMGCC} ${CCFLAGS} --emit-llvm foo.c -c -o foo.o - ${LLVMGCC} ${CCFLAGS} --emit-llvm bar.c -c -o bar.o - ${LLVMGCC} ${CCFLAGS} --emit-llvm baz.c -c -o baz.o - ${LLVMGCC} ${CCFLAGS} main.c -c -o main.o - ${LLVMGCC} ${CCFLAGS} main.o foo.o bar.o baz.o -o main -dead_strip + ${CC} ${CCFLAGS} -flto foo.c -c -o foo.o + ${CC} ${CCFLAGS} -flto bar.c -c -o bar.o + ${CC} ${CCFLAGS} -flto baz.c -c -o baz.o + ${CC} ${CCFLAGS} main.c -c -o main.o + ${CC} ${CCFLAGS} main.o foo.o bar.o baz.o -o main -dead_strip ${PASS_IFF_GOOD_MACHO} main clean: