]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for i386 | |
3 | ###################################################################### | |
4 | ||
91447636 A |
5 | # Enable -Werror for i386 builds |
6 | CFLAGS+= $(WERROR) | |
7 | CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) | |
8 | ||
9 | # Objects that don't compile cleanly in libkern/c++: | |
10 | OBJS_NO_WERROR= \ | |
11 | ioconf.o \ | |
12 | OSRuntimeSupport.o \ | |
13 | OSMetaClass.cpo \ | |
14 | OSArray.cpo \ | |
15 | OSBoolean.cpo \ | |
16 | OSCollectionIterator.cpo \ | |
17 | OSCollection.cpo \ | |
18 | OSData.cpo \ | |
19 | OSDictionary.cpo \ | |
20 | OSNumber.cpo \ | |
21 | OSObject.cpo \ | |
22 | OSOrderedSet.cpo \ | |
23 | OSRuntime.cpo \ | |
24 | OSSerialize.cpo \ | |
25 | OSString.cpo \ | |
26 | OSSymbol.cpo \ | |
27 | OSUnserialize.cpo \ | |
0c530ab8 A |
28 | OSIterator.cpo \ |
29 | OSSet.cpo \ | |
30 | scanf.o \ | |
91447636 A |
31 | OSUnserializeXML.cpo |
32 | ||
33 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
34 | ||
35 | $(OBJS_WERROR): WERROR=-Werror | |
1c79356b A |
36 | |
37 | ###################################################################### | |
38 | #END Machine dependent Makefile fragment for i386 | |
39 | ###################################################################### |