]> git.saurik.com Git - apple/xnu.git/blob - osfmk/conf/Makefile.x86_64
xnu-2422.115.4.tar.gz
[apple/xnu.git] / osfmk / conf / Makefile.x86_64
1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for x86_64
3 ######################################################################
4
5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wshorten-64-to-32
6
7 # Files that must go in the __HIB segment:
8 UNCONFIGURED_HIB_FILES= \
9 WKdmDecompress_new.o \
10 WKdmData_new.o \
11 hibernate_restore.o \
12 hibernate_bootstrap.o \
13 bcopy.o \
14 bzero.o
15
16 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
17
18 # Unconfigured __HIB files must be Mach-O for "setsegname"
19 WKdmDecompress_new.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
20 WKdmData_new.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
21 hibernate_restore.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
22 hibernate_bootstrap.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
23 bcopy.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
24 bzero.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
25
26 # To appear at the beginning of the __HIB segment, emit
27 # as Mach-O so that the linker can enforce symbol order
28 boot_pt.o_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)
29
30 ######################################################################
31 #END Machine dependent Makefile fragment for x86_64
32 ######################################################################