mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
gcc: Enable secureplt for powerpc64 target too
(From OE-Core rev: 72c3381ef5b18c784707ef361ee02f07770220f6) Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9eedf05a34
commit
fc735f3e43
@@ -38,7 +38,7 @@ def get_gcc_mips_plt_setting(bb, d):
|
|||||||
return ""
|
return ""
|
||||||
|
|
||||||
def get_gcc_ppc_plt_settings(bb, d):
|
def get_gcc_ppc_plt_settings(bb, d):
|
||||||
if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc' ] and not bb.utils.contains('DISTRO_FEATURES', 'bssplt', True, False, d):
|
if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and not bb.utils.contains('DISTRO_FEATURES', 'bssplt', True, False, d):
|
||||||
return "--enable-secureplt"
|
return "--enable-secureplt"
|
||||||
return ""
|
return ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user