]>
Commit | Line | Data |
---|---|---|
5ba3f43e A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for arm | |
3 | ###################################################################### | |
4 | ||
5 | # The following files cast opaque pointers to more specific | |
6 | # structures | |
7 | OBJS_NO_CAST_ALIGN = kxld_kext.o kxld_reloc.o kxld_sect.o kxld_seg.o \ | |
8 | kxld_state.o kxld_sym.o kxld_symtab.o kxld_util.o \ | |
9 | kxld_srcversion.o kxld_splitinfolc.o kxld_uuid.o kxld_vtable.o uuid.o | |
10 | ||
11 | $(foreach file,$(OBJS_NO_CAST_ALIGN),$(eval $(call add_perfile_cflags,$(file),-Wno-cast-align))) | |
12 | ||
13 | OSKext.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align -Wno-error=shadow | |
14 | OSMetaClass.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align | |
15 | OSKextLib.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align | |
16 | OSUnserialize.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align | |
17 | ||
18 | ###################################################################### | |
19 | #END Machine dependent Makefile fragment for arm | |
20 | ###################################################################### |