Commit bd365591 authored by Michal Marek's avatar Michal Marek Committed by Russell King

ARM: 6328/1: Build with -fno-dwarf2-cfi-asm

Commit d0679c73 restricted this workaround to powerpc only, but it turns
out that ARM needs it as well. Fixes
https://bugzilla.kernel.org/show_bug.cgi?id=16310 .
Reported-and-Tested-by: default avatarRobert Nelson <robertcnelson@gmail.com>
Acked-by: default avatarMikael Pettersson <mikpe@it.uu.se>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2f174847
...@@ -21,6 +21,9 @@ GZFLAGS :=-9 ...@@ -21,6 +21,9 @@ GZFLAGS :=-9
# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
KBUILD_CFLAGS +=$(call cc-option,-marm,) KBUILD_CFLAGS +=$(call cc-option,-marm,)
# Never generate .eh_frame
KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
# Do not use arch/arm/defconfig - it's always outdated. # Do not use arch/arm/defconfig - it's always outdated.
# Select a platform tht is kept up-to-date # Select a platform tht is kept up-to-date
KBUILD_DEFCONFIG := versatile_defconfig KBUILD_DEFCONFIG := versatile_defconfig
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment