forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.x86_64
21 lines (17 loc) · 959 Bytes
/
Makefile.x86_64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
######################################################################
#BEGIN Machine dependent Makefile fragment for x86_64
######################################################################
#
# XXX: CFLAGS
#
CWARNFLAGS = $(CWARNFLAGS_STD) -Wno-unused-parameter -Wshorten-64-to-32 -Wimplicit-int-conversion
CXXWARNFLAGS = $(CXXWARNFLAGS_STD) -Wno-unused-parameter -Wno-cast-qual -Wno-shadow -Wshorten-64-to-32 -Wimplicit-int-conversion
# Files that must go in the __HIB segment:
UNCONFIGURED_HIB_FILES= \
IOHibernateRestoreKernel.o
HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
# Unconfigured __HIB files must be Mach-O for "setsegname"
IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
######################################################################
#END Machine dependent Makefile fragment for x86_64
######################################################################