]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/conf/Makefile.x86_64
xnu-1699.22.73.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.x86_64
index 83b41e2ddf618efe7596ba505afb59b4d07aef41..29811299abe2e962f05d13df0aa105af33cc5e8c 100644 (file)
@@ -2,46 +2,12 @@
 #BEGIN  Machine dependent Makefile fragment for x86_64
 ######################################################################
  
-# files to build with certain warnings turned off
+# Files to build with certain warnings turned off
 dis_tables.o_CFLAGS_ADD += -Wno-cast-qual
 fbt_x86.o_CFLAGS_ADD += -Wno-cast-qual
 
-
-# Enable -Werror for x86_64 builds
-CFLAGS+=$(WERROR)
-CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
-
-# Objects that don't compile cleanly:
-OBJS_NO_WERROR =               \
-       fifo_vnops.o    \
-       aescrypt.o              \
-       aeskey.o                \
-       des_setkey.o            \
-       sha2.o                  \
-       if_ethersubr.o          \
-       if_media.o              \
-       kext_net.o              \
-       dhcp_options.o          \
-       in_bootp.o              \
-       krpc_subr.o             \
-       ux_exception.o          \
-       unix_startup.o          \
-       randomdev.o             \
-       vnode_pager.o   \
-       dp_backing_file.o \
-       vm_unix.o               \
-       mem.o                   \
-       km.o                    \
-       init_sysent.o           \
-       drv_dep.o               \
-       sdt_x86.o       \
-       dtrace_isa.o            \
-       aes_modes.o
-
-
-OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
-
-$(OBJS_WERROR):                WERROR=-Werror
+# sha256 Files to build with -DSHA256_USE_ASSEMBLY=1
+sha2.o_CFLAGS_ADD += -DSHA256_USE_ASSEMBLY=1 
 
 ######################################################################
 #END    Machine dependent Makefile fragment for x86_64