]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/conf/Makefile.x86_64
xnu-2050.7.9.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.x86_64
index 29811299abe2e962f05d13df0aa105af33cc5e8c..e45baf159f09cd716866da2e0af77dd29e32b7c4 100644 (file)
@@ -9,6 +9,11 @@ fbt_x86.o_CFLAGS_ADD += -Wno-cast-qual
 # sha256 Files to build with -DSHA256_USE_ASSEMBLY=1
 sha2.o_CFLAGS_ADD += -DSHA256_USE_ASSEMBLY=1 
 
+# Inline assembly doesn't interact well with LTO
+fbt_x86.o_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)
+# Taking the address of labels doesn't work with LTO (9524055)
+dtrace.o_CFLAGS_ADD += $(CFLAGS_NOLTO_FLAG)
+
 ######################################################################
 #END    Machine dependent Makefile fragment for x86_64
 ######################################################################