]> err.no Git - linux-2.6/blobdiff - arch/x86_64/Makefile
[PATCH] Detect clock skew during suspend
[linux-2.6] / arch / x86_64 / Makefile
index 431bb4bc36cdc950b1a9168a3abfcb0b954eb373..d6472ddf5f6e28561cdf35f2bb8450c5de7dbb6c 100644 (file)
@@ -54,6 +54,9 @@ endif
 cflags-y += $(call cc-option,-funit-at-a-time)
 # prevent gcc from generating any FP code by mistake
 cflags-y += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
+# do binutils support CFI?
+cflags-y += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
+AFLAGS += $(call as-instr,.cfi_startproc\n.cfi_endproc,-DCONFIG_AS_CFI=1,)
 
 CFLAGS += $(cflags-y)
 CFLAGS_KERNEL += $(cflags-kernel-y)