From: Serhey Popovych Date: Fri, 14 Dec 2018 17:54:41 +0000 (+0200) Subject: gcc: Enable secureplt for powerpc64 target too X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15859 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c3381ef5b18c784707ef361ee02f07770220f6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc: Enable secureplt for powerpc64 target too Signed-off-by: Serhey Popovych Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 00fec0bb6e4..06c90336b66 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc @@ -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 ""