]> git.saurik.com Git - apple/xnu.git/blobdiff - tools/tests/zero-to-n/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tools / tests / zero-to-n / Makefile
index 63e5484c96c6c2ffb6152f982636d1d2e2bbdf99..a02474b4774975bddbc160bf2d10db9a1f3072c3 100644 (file)
@@ -2,17 +2,8 @@ include ../Makefile.common
 
 CC:=$(shell xcrun -sdk "$(SDKROOT)" -find cc)
 
-ifdef RC_ARCHS
-    ARCHS:=$(RC_ARCHS)
-  else
-    ifeq "$(Embedded)" "YES"
-      ARCHS:=armv7 armv7s arm64 armv7k
-    else
-      ARCHS:=x86_64 i386
-  endif
-endif
-
-CFLAGS := -Os -g $(patsubst %, -arch %, $(ARCHS)) -isysroot $(SDKROOT) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
+CFLAGS := -Os -g $(ARCH_FLAGS) -isysroot $(SDKROOT) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
+CFLAGS += -Wl,-sectcreate,__INFO_FILTER,__disable,/dev/null
 
 DSTROOT?=$(shell /bin/pwd)
 SYMROOT?=$(shell /bin/pwd)