]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/conf/Makefile.x86_64
xnu-1699.32.7.tar.gz
[apple/xnu.git] / iokit / conf / Makefile.x86_64
index 64ddbfaa563336fcf121b396ca5762cd8dd7be5e..463de5a20bbd56f527f00c1fa37fb1c08f5d87cd 100644 (file)
@@ -1,17 +1,12 @@
 ######################################################################
 #BEGIN  Machine dependent Makefile fragment for x86_64
 ######################################################################
-# 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=                       \
-OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
+# Files that must go in the __HIB segment:
+UNCONFIGURED_HIB_FILES=        \
+                       IOHibernateRestoreKernel.o
 
-$(OBJS_WERROR):                WERROR=-Werror
+HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
 
 ######################################################################
 #END    Machine dependent Makefile fragment for x86_64