X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d1ecb069dfe24481e4a83f44cb5217a2b06746d7..bd504ef0e0b883cdd7917b73b3574eb9ce669905:/iokit/conf/Makefile.i386 diff --git a/iokit/conf/Makefile.i386 b/iokit/conf/Makefile.i386 index 43a6e5b4f..df2fbb323 100644 --- a/iokit/conf/Makefile.i386 +++ b/iokit/conf/Makefile.i386 @@ -2,24 +2,14 @@ #BEGIN Machine dependent Makefile fragment for i386 ###################################################################### -# Enable -Werror for i386 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)) - -$(OBJS_WERROR): WERROR=-Werror - # Files that must go in the __HIB segment: UNCONFIGURED_HIB_FILES= \ - IOHibernateRestoreKernel.o \ - WKdmDecompress.o + IOHibernateRestoreKernel.o HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS)) +IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector + ###################################################################### #END Machine dependent Makefile fragment for i386 ######################################################################