x86/*/Makefile: Use -fno-asynchronous-unwind-tables to suppress .eh_frame sections
[sfrench/cifs-2.6.git] / arch / x86 / boot / Makefile
index 012b82fc86176af7dbfdbed995ea2e5b480b8bba..24f011e0adf1089034aa652b1980a2addb2b6b2b 100644 (file)
@@ -68,6 +68,7 @@ clean-files += cpustr.h
 KBUILD_CFLAGS  := $(REALMODE_CFLAGS) -D_SETUP
 KBUILD_AFLAGS  := $(KBUILD_CFLAGS) -D__ASSEMBLY__
 KBUILD_CFLAGS  += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
+KBUILD_CFLAGS  += -fno-asynchronous-unwind-tables
 GCOV_PROFILE := n
 UBSAN_SANITIZE := n