#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