]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/16-byte-alignment/Makefile
ld64-133.3.tar.gz
[apple/ld64.git] / unit-tests / test-cases / 16-byte-alignment / Makefile
index a3a256fac91617f1d0abb8b2a618001c848d3641..533e222dbb168e9e46d8d0a95639c779a88dcd75 100644 (file)
@@ -33,11 +33,11 @@ all:
        ${FAIL_IF_ERROR} ${CC} ${CCFLAGS} -arch ${ARCH} -c -O2 tl_test2.c -o tl_test2-${ARCH}.o
 
        # verify that the alignment is correct in the .o
-       ObjectDump -only _ai -align -no_content tl_test2-${ARCH}.o|${FAIL_IF_ERROR} grep '\<0 mod 16\>' >/dev/null
+       ${OBJECTDUMP} -only _ai -align -no_content tl_test2-${ARCH}.o|${FAIL_IF_ERROR} grep '0 mod 16' >/dev/null
 
        # now verify the executable
        ${FAIL_IF_ERROR} ${CC} ${CCFLAGS} -arch ${ARCH} -O2 tl_test2-${ARCH}.o -o tl_test2-${ARCH}
-       ${FAIL_IF_ERROR} sh -c "nm tl_test2-${ARCH}|grep '0 D _ai\>' >/dev/null"
+       ${FAIL_IF_ERROR} sh -c "nm tl_test2-${ARCH}|grep '0 D _ai' >/dev/null"
        ${PASS_IFF_GOOD_MACHO} tl_test2-${ARCH}
 
 clean: