forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.arm64
20 lines (16 loc) · 982 Bytes
/
Makefile.arm64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
######################################################################
#BEGIN Machine dependent Makefile fragment for arm
######################################################################
# The following files cast opaque pointers to more specific
# structures
OBJS_NO_CAST_ALIGN = kxld_kext.o kxld_reloc.o kxld_sect.o kxld_seg.o \
kxld_state.o kxld_sym.o kxld_symtab.o kxld_util.o \
kxld_srcversion.o kxld_splitinfolc.o kxld_uuid.o kxld_vtable.o uuid.o
$(foreach file,$(OBJS_NO_CAST_ALIGN),$(eval $(call add_perfile_cflags,$(file),-Wno-cast-align)))
OSKext.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align -Wno-error=shadow
OSMetaClass.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align
OSKextLib.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align
OSUnserialize.cpo_CXXWARNFLAGS_ADD += -Wno-cast-align
######################################################################
#END Machine dependent Makefile fragment for arm
######################################################################