X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/2f2f92e40575142405a1caa9bcf847f7ad011c92..afe874b1634377ecb27057ee76deb04915bb34d7:/unit-tests/test-cases/absolute-symbol/Makefile diff --git a/unit-tests/test-cases/absolute-symbol/Makefile b/unit-tests/test-cases/absolute-symbol/Makefile old mode 100755 new mode 100644 index 806c64e..bbdfd11 --- a/unit-tests/test-cases/absolute-symbol/Makefile +++ b/unit-tests/test-cases/absolute-symbol/Makefile @@ -30,10 +30,10 @@ include ${TESTROOT}/include/common.makefile all: ${CC} ${CCFLAGS} main.c -static -c ${CC} ${CCFLAGS} abs.s -static -c - ${LD} -arch ${ARCH} -static main.o abs.o -e _main -o main -new_linker - ${LD} -arch ${ARCH} -static -r main.o abs.o -o all.o -new_linker + ${LD} -arch ${ARCH} -static main.o abs.o -e _main -o main -new_linker -macosx_version_min 10.6 + ${LD} -arch ${ARCH} -static -r main.o abs.o -o all.o -new_linker nm -m all.o | grep _myAbs | grep absolute | ${FAIL_IF_EMPTY} - ${LD} -arch ${ARCH} -static all.o -e _main -o main2 -new_linker + ${LD} -arch ${ARCH} -static all.o -e _main -o main2 -new_linker -macosx_version_min 10.6 ${PASS_IFF_GOOD_MACHO} main2 clean: