]>
Commit | Line | Data |
---|---|---|
1 | ###################################################################### | |
2 | #BEGIN Machine dependent Makefile fragment for x86_64 | |
3 | ###################################################################### | |
4 | # | |
5 | # XXX: CFLAGS | |
6 | # | |
7 | CWARNFLAGS = $(CWARNFLAGS_STD) -Wno-unused-parameter -Wshorten-64-to-32 -Wimplicit-int-conversion | |
8 | CXXWARNFLAGS = $(CXXWARNFLAGS_STD) -Wno-unused-parameter -Wno-cast-qual -Wno-shadow -Wshorten-64-to-32 -Wimplicit-int-conversion | |
9 | ||
10 | # Files that must go in the __HIB segment: | |
11 | UNCONFIGURED_HIB_FILES= \ | |
12 | IOHibernateRestoreKernel.o | |
13 | ||
14 | HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS)) | |
15 | ||
16 | # Unconfigured __HIB files must be Mach-O for "setsegname" | |
17 | IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG) | |
18 | ||
19 | ###################################################################### | |
20 | #END Machine dependent Makefile fragment for x86_64 | |
21 | ###################################################################### |