]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/rebase-basic/Makefile
ld64-84.1.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / rebase-basic / Makefile
old mode 100644 (file)
new mode 100755 (executable)
index 77bdf6b..ba262aa
@@ -32,16 +32,16 @@ include ${TESTROOT}/include/common.makefile
 run: all
 
 all:
-       ${CC} -c foo.c -o foo.${ARCH}.o
+       ${CC} ${CCFLAGS} -c foo.c -o foo.${ARCH}.o
        ${FAIL_IF_BAD_OBJ} foo.${ARCH}.o
 
-       ${CC} -c bar.m -o bar.${ARCH}.o
+       ${CC} ${CCFLAGS} -c bar.m -o bar.${ARCH}.o
        ${FAIL_IF_BAD_OBJ} bar.${ARCH}.o
 
-       ${CC} foo.${ARCH}.o bar.${ARCH}.o -dynamiclib -o libfoo.${ARCH}.dylib -framework Foundation -single_module -mmacosx-version-min=10.5
+       ${CC} ${CCFLAGS} foo.${ARCH}.o bar.${ARCH}.o -dynamiclib -Wl,-no_uuid -o libfoo.${ARCH}.dylib -framework Foundation  -framework CoreFoundation 
        ${FAIL_IF_BAD_MACHO} libfoo.${ARCH}.dylib
 
-       ${CC} foo.${ARCH}.o bar.${ARCH}.o -dynamiclib -o libfoo-alt.${ARCH}.dylib -framework Foundation -single_module -mmacosx-version-min=10.5 -seg1addr 0x12340000 -install_name libfoo.${ARCH}.dylib
+       ${CC} ${CCFLAGS} foo.${ARCH}.o bar.${ARCH}.o -dynamiclib -Wl,-no_uuid -o libfoo-alt.${ARCH}.dylib -framework Foundation -framework CoreFoundation  -seg1addr 0x12340000 -install_name libfoo.${ARCH}.dylib
        ${FAIL_IF_BAD_MACHO} libfoo-alt.${ARCH}.dylib
 
        rebase -arch ${ARCH} -low_address 0x12340000 libfoo.${ARCH}.dylib