]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/superpages/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tools / tests / superpages / Makefile
index 4772a03e540e1727a4bd8c08fd951825304569aa..4409c61bae7e4d06882c258e5712dedec98d4c11 100644 (file)
@@ -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)