X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/eb6b6ca394357805f2bdba989abae309f718b4d8..f427ee49d309d8fc33ebf3042c3a775f2f530ded:/tools/tests/superpages/Makefile diff --git a/tools/tests/superpages/Makefile b/tools/tests/superpages/Makefile index 4772a03e5..4409c61ba 100644 --- a/tools/tests/superpages/Makefile +++ b/tools/tests/superpages/Makefile @@ -4,17 +4,8 @@ DSTROOT?=$(shell /bin/pwd) TARGETS := $(addprefix $(DSTROOT)/, measure_tlbs testsp) CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc) -ifdef RC_ARCHS - ARCHS:=$(RC_ARCHS) - else - ifeq "$(Embedded)" "YES" - ARCHS:=armv7 armv7s arm64 - else - ARCHS:=x86_64 i386 - endif -endif - -CFLAGS += $(patsubst %, -arch %, $(ARCHS)) -isysroot $(SDKROOT) +CFLAGS += $(ARCH_FLAGS) -isysroot $(SDKROOT) +CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null all: $(TARGETS)