]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for i386 | |
3 | ###################################################################### | |
91447636 A |
4 | |
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: | |
10 | OBJS_NO_WERROR= \ | |
11 | ioconf.o \ | |
12 | bootargs.o \ | |
5d5c5d0d | 13 | pe_init.o \ |
91447636 A |
14 | device_tree.o |
15 | ||
16 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
17 | ||
18 | $(OBJS_WERROR): WERROR=-Werror | |
19 | ||
1c79356b A |
20 | ###################################################################### |
21 | #END Machine dependent Makefile fragment for i386 | |
22 | ###################################################################### | |
23 |