X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..99c3a10404e5d1ef94397ab4df5a8b74711fc4d3:/libkern/conf/Makefile.i386 diff --git a/libkern/conf/Makefile.i386 b/libkern/conf/Makefile.i386 index 712240adf..d75614478 100644 --- a/libkern/conf/Makefile.i386 +++ b/libkern/conf/Makefile.i386 @@ -2,37 +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 \ - OSIterator.cpo \ - OSSet.cpo \ - scanf.o \ - 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