]>
Commit | Line | Data |
---|---|---|
b0d623f7 A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for x86_64 | |
3 | ###################################################################### | |
4 | ||
f427ee49 | 5 | CWARNFLAGS = $(CWARNFLAGS_STD) -Wno-atomic-implicit-seq-cst |
b0d623f7 A |
6 | |
7 | # Files that must go in the __HIB segment: | |
8 | UNCONFIGURED_HIB_FILES= \ | |
39236c6e A |
9 | WKdmDecompress_new.o \ |
10 | WKdmData_new.o \ | |
b0d623f7 | 11 | hibernate_restore.o \ |
39236c6e A |
12 | bcopy.o \ |
13 | bzero.o | |
b0d623f7 A |
14 | |
15 | HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS)) | |
16 | ||
39236c6e | 17 | # Unconfigured __HIB files must be Mach-O for "setsegname" |
d9a64523 A |
18 | WKdmDecompress_new.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) |
19 | WKdmData_new.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) | |
20 | hibernate_restore.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) | |
d9a64523 A |
21 | bcopy.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) |
22 | bzero.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) | |
23 | fp_simd.o_SFLAGS_ADD += -mavx512f | |
39236c6e A |
24 | |
25 | # To appear at the beginning of the __HIB segment, emit | |
26 | # as Mach-O so that the linker can enforce symbol order | |
27 | boot_pt.o_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG) | |
316670eb | 28 | |
d9a64523 A |
29 | # fast path lock C leaf functions must be built without stack frames |
30 | locks_i386_opt.o_CFLAGS_ADD += -momit-leaf-frame-pointer -O2 | |
31 | ||
b0d623f7 A |
32 | ###################################################################### |
33 | #END Machine dependent Makefile fragment for x86_64 | |
34 | ###################################################################### |