]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/conf/Makefile.i386
xnu-2050.48.11.tar.gz
[apple/xnu.git] / iokit / conf / Makefile.i386
index f81e7dcac4b0e67ead87f8d3c9a6bda0120b62a1..df2fbb32378fec15d3d8750c0c2042a173ee4d8e 100644 (file)
@@ -2,16 +2,13 @@
 #BEGIN  Machine dependent Makefile fragment for i386
 ######################################################################
  
-# Enable -Werror for i386 builds
-CFLAGS+= $(WERROR)
-CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
+# Files that must go in the __HIB segment:
+UNCONFIGURED_HIB_FILES=        \
+                       IOHibernateRestoreKernel.o
 
-# Objects that don't compile cleanly:
-#OBJS_NO_WERROR=               \
+HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
 
-OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
-
-$(OBJS_WERROR):                WERROR=-Werror
+IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector
 
 ######################################################################
 #END    Machine dependent Makefile fragment for i386