X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..99c3a10404e5d1ef94397ab4df5a8b74711fc4d3:/libkern/conf/Makefile.i386 diff --git a/libkern/conf/Makefile.i386 b/libkern/conf/Makefile.i386 index fa98396d8..d75614478 100644 --- a/libkern/conf/Makefile.i386 +++ b/libkern/conf/Makefile.i386 @@ -2,34 +2,15 @@ #BEGIN Machine dependent Makefile fragment for i386 ###################################################################### -# Enable -Werror for i386 builds -CFLAGS+= $(WERROR) -CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) +# sha1 Files to build with -DSHA1_USE_ASSEMBLY=1 +sha1.o_CFLAGS_ADD += -DSHA1_USE_ASSEMBLY=1 -# Objects that don't compile cleanly in libkern/c++: -OBJS_NO_WERROR= \ - ioconf.o \ - OSRuntimeSupport.o \ - OSMetaClass.cpo \ - OSArray.cpo \ - OSBoolean.cpo \ - OSCollectionIterator.cpo \ - OSCollection.cpo \ - OSData.cpo \ - OSDictionary.cpo \ - OSNumber.cpo \ - OSObject.cpo \ - OSOrderedSet.cpo \ - OSRuntime.cpo \ - OSSerialize.cpo \ - OSString.cpo \ - OSSymbol.cpo \ - OSUnserialize.cpo \ - OSUnserializeXML.cpo +# Files that must go in the __HIB segment: +UNCONFIGURED_HIB_FILES= \ + WKdmDecompress.o -OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) +HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS)) -$(OBJS_WERROR): WERROR=-Werror ###################################################################### #END Machine dependent Makefile fragment for i386