]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/jitter/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tools / tests / jitter / Makefile
index 901814c6e4944a6d4a3be2fd6e4b96f0dc87fec2..b5c086e2f61047fcc881bc1d6ae6993432bfdea6 100644 (file)
@@ -6,18 +6,8 @@ OBJROOT?=$(shell /bin/pwd)
 
 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)) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
+CFLAGS:=$(ARCH_FLAGS) -g -Wall -Os -isysroot $(SDKROOT) -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
+CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null
 
 all: $(DSTROOT)/jitter