]>
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 libsa: | |
10 | OBJS_NO_WERROR= \ | |
11 | ioconf.o \ | |
12 | UNDRequest.o \ | |
13 | bootstrap.cpo \ | |
14 | bsearch.o \ | |
15 | c++rem3.o \ | |
16 | catalogue.cpo \ | |
17 | dgraph.o \ | |
18 | kext.cpo \ | |
19 | kld_patch.o \ | |
20 | load.o \ | |
21 | mach.o \ | |
22 | malloc.o \ | |
23 | misc.o \ | |
24 | sort.o \ | |
25 | strrchr.o \ | |
26 | strstr.o \ | |
27 | vers_rsrc.o | |
28 | ||
29 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
30 | ||
31 | $(OBJS_WERROR): WERROR=-Werror | |
1c79356b A |
32 | |
33 | ###################################################################### | |
34 | #END Machine dependent Makefile fragment for i386 | |
35 | ###################################################################### |