mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
ARM: 9226/1: disable FDPIC ABI
When building with an arm-*-uclinuxfdpiceabi toolchain, the FDPIC ABI is enabled by default but should not be used to build the kernel. Therefore, pass -mno-fdpic if supported by the compiler. Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
This commit is contained in:
parent
ee50036b25
commit
3d47ff2568
|
@ -22,6 +22,9 @@ GZFLAGS :=-9
|
|||
# Never generate .eh_frame
|
||||
KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
|
||||
|
||||
# Disable FDPIC ABI
|
||||
KBUILD_CFLAGS += $(call cc-option,-mno-fdpic)
|
||||
|
||||
# This should work on most of the modern platforms
|
||||
KBUILD_DEFCONFIG := multi_v7_defconfig
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user