X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d1ecb069dfe24481e4a83f44cb5217a2b06746d7..bd504ef0e0b883cdd7917b73b3574eb9ce669905:/iokit/conf/Makefile.x86_64 diff --git a/iokit/conf/Makefile.x86_64 b/iokit/conf/Makefile.x86_64 index 09b0c0b71..39d2cc065 100644 --- a/iokit/conf/Makefile.x86_64 +++ b/iokit/conf/Makefile.x86_64 @@ -1,25 +1,15 @@ ###################################################################### #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)) - -$(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 x86_64 ######################################################################