X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/d6f5f96dd73a9fc1307a46119d767ff3261f0f9c..797cc9518557438c2166863f4e1804db04ecfa2d:/unit-tests/test-cases/lazy-binding-reg-params/Makefile diff --git a/unit-tests/test-cases/lazy-binding-reg-params/Makefile b/unit-tests/test-cases/lazy-binding-reg-params/Makefile index 12eb337..73ce203 100644 --- a/unit-tests/test-cases/lazy-binding-reg-params/Makefile +++ b/unit-tests/test-cases/lazy-binding-reg-params/Makefile @@ -23,21 +23,31 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile -ifeq "-arch ppc" "$(ARCH)" +MACHINE = $(shell machine) + +ifeq "ppc" "$(ARCH)" EXTRA_FLAG = -maltivec -force_cpusubtype_ALL else - ifeq "-arch ppc64" "$(ARCH)" + ifeq "ppc64" "$(ARCH)" EXTRA_FLAG = -maltivec else - ifeq "-arch i386" "$(ARCH)" + ifeq "i386" "$(ARCH)" EXTRA_FLAG = "" + else + ifeq "" "$(ARCH)" + ifeq "ppc970" "$(MACHINE)" + EXTRA_FLAG = -maltivec -force_cpusubtype_ALL + endif + endif endif endif endif -run: all +all-check: all check + +check: ./main all: main