]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/no-uuid/Makefile
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / no-uuid / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 5d52553..7c5304b
@@ -47,8 +47,8 @@ all:
        ${FAIL_IF_BAD_MACHO} foo
        ${OTOOL} -hlv foo | grep LC_UUID | ${FAIL_IF_STDIN}
 
        ${FAIL_IF_BAD_MACHO} foo
        ${OTOOL} -hlv foo | grep LC_UUID | ${FAIL_IF_STDIN}
 
-# Test ld -r of stabs file has no uuid
-       ${CC} ${CCFLAGS} foo.c -c -o foo.o -gfull -gstabs+
+# Test ld -r of stabs file has no uuid (llvm does not support stabs, so use gcc)
+       gcc-4.2 -arch ${ARCH} ${CCFLAGS} foo.c -c -o foo.o -gfull -gstabs+
        ${LD} -arch ${ARCH} foo.o -r -o foo2.o
        ${OTOOL} -hlv foo2.o | grep LC_UUID | ${FAIL_IF_STDIN}
 
        ${LD} -arch ${ARCH} foo.o -r -o foo2.o
        ${OTOOL} -hlv foo2.o | grep LC_UUID | ${FAIL_IF_STDIN}