]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/blank-stubs/Makefile
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / blank-stubs / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 346e2b7..19f0af1
@@ -23,7 +23,7 @@
 TESTROOT = ../..
 include ${TESTROOT}/include/common.makefile
 
-ALL_ARCH_OPTIONS = $(patsubst %,-arch %,$(VALID_ARCHS))
+ALL_ARCH_OPTIONS = $(patsubst %,-arch %,$(subst ppc,,$(VALID_ARCHS)) )
 
 #
 # Test that blank stubs are handled properly
@@ -34,7 +34,7 @@ run: all
 all:
 # build example fully fat dylib
 
-       gcc `echo ${ALL_ARCH_OPTIONS}` -dynamiclib foo.c -o libfoo.dylib -install_name libfoo.dylib
+       gcc `echo ${ALL_ARCH_OPTIONS}` -dynamiclib foo.c -o libfoo.dylib -install_name libfoo.dylib 
        ${FAIL_IF_BAD_MACHO} libfoo.dylib
 
        # handle the case of a native ppc compile--this sets the subtype, which must be passed to lipo