diff options
author | 2018-05-09 23:20:04 -0700 | |
---|---|---|
committer | 2018-05-15 10:00:31 +0100 | |
commit | d0971200ffe226ade76273ff73be4fa5511a2baa (patch) | |
tree | 6be2c1a72d740cc537685d6bf0e632a569c897c2 /meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb | |
parent | c5aa33ac483618bc23fbaccb0a18853186f9155d (diff) | |
download | openembedded-core-d0971200ffe226ade76273ff73be4fa5511a2baa.tar.gz |
kexec-tools: Set -fno-PIC on aarch64
As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported. This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb b/meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb index ebb4832684..bd87b371c2 100644 --- a/meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb +++ b/meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb @@ -20,6 +20,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz file://0010-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch \ file://kexec-x32.patch \ file://0001-Disable-PIE-during-link.patch \ + file://0001-arm64-Set-fno-PIC-along-with-mcmodel-large.patch \ " SRC_URI[md5sum] = "5198968de79b5ded96f97f3c2ea9637b" |