]>
Commit | Line | Data |
---|---|---|
b0d623f7 A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for x86_64 | |
3 | ###################################################################### | |
4 | ||
5 | # files to build with certain warnings turned off | |
6 | dis_tables.o_CFLAGS_ADD += -Wno-cast-qual | |
7 | fbt_x86.o_CFLAGS_ADD += -Wno-cast-qual | |
8 | ||
9 | ||
10 | # Enable -Werror for x86_64 builds | |
11 | CFLAGS+=$(WERROR) | |
12 | CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) | |
13 | ||
14 | # Objects that don't compile cleanly: | |
15 | OBJS_NO_WERROR = \ | |
16 | fifo_vnops.o \ | |
17 | aescrypt.o \ | |
18 | aeskey.o \ | |
19 | des_setkey.o \ | |
20 | sha2.o \ | |
21 | if_ethersubr.o \ | |
22 | if_media.o \ | |
23 | kext_net.o \ | |
24 | dhcp_options.o \ | |
25 | in_bootp.o \ | |
26 | krpc_subr.o \ | |
27 | ux_exception.o \ | |
28 | unix_startup.o \ | |
29 | randomdev.o \ | |
30 | vnode_pager.o \ | |
31 | dp_backing_file.o \ | |
32 | vm_unix.o \ | |
33 | mem.o \ | |
34 | km.o \ | |
35 | init_sysent.o \ | |
36 | drv_dep.o \ | |
37 | sdt_x86.o \ | |
38 | dtrace_isa.o \ | |
39 | aes_modes.o | |
40 | ||
41 | ||
42 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
43 | ||
44 | $(OBJS_WERROR): WERROR=-Werror | |
45 | ||
46 | ###################################################################### | |
47 | #END Machine dependent Makefile fragment for x86_64 | |
48 | ###################################################################### | |
49 |