]> git.saurik.com Git - apple/ld64.git/blobdiff - unit-tests/test-cases/blank-stubs/Makefile
ld64-264.3.101.tar.gz
[apple/ld64.git] / unit-tests / test-cases / blank-stubs / Makefile
index b99e0858ced6054df4781f11963362902e8fa172..19f0af18f6e83783b96841aa7f7e45e26737c4e1 100644 (file)
@@ -23,8 +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
@@ -35,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
@@ -59,4 +58,4 @@ all:
        
 
 clean:
-       rm -rf *.dylib main
+       rm -rf libfoo.dylib main