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:
Serhey Popovych
2018-12-14 19:54:41 +02:00
committed by Richard Purdie
parent 9eedf05a34
commit fc735f3e43

View File

@@ -38,7 +38,7 @@ def get_gcc_mips_plt_setting(bb, d):
return ""
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 ""