]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/conf/Makefile.x86_64
xnu-7195.101.1.tar.gz
[apple/xnu.git] / iokit / conf / Makefile.x86_64
index 61de9d5843c630135527427d281a556148500703..25cc81936b0fbf30110e0675115031b26393b5e2 100644 (file)
@@ -1,6 +1,11 @@
 ######################################################################
 #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=        \
@@ -9,7 +14,7 @@ UNCONFIGURED_HIB_FILES=        \
 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
 
 # Unconfigured __HIB files must be Mach-O for "setsegname"
-IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector $(CFLAGS_NOLTO_FLAG)
+IOHibernateRestoreKernel.o_CFLAGS_ADD += -fno-stack-protector -fno-stack-check $(CFLAGS_NOLTO_FLAG)
 
 ######################################################################
 #END    Machine dependent Makefile fragment for x86_64