summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorSerhey Popovych <serhe.popovych@gmail.com>2018-12-14 19:54:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-15 17:10:52 +0000
commitfc735f3e43d788eeefc960da652fb43d822d8ebb (patch)
tree316a08810233a6e520a2a062a066d09b1256a791 /meta/recipes-devtools
parent9eedf05a34d158883067311f6727cdb4ba1115e3 (diff)
downloadpoky-fc735f3e43d788eeefc960da652fb43d822d8ebb.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 00fec0bb6e..06c90336b6 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):
38 return "" 38 return ""
39 39
40def get_gcc_ppc_plt_settings(bb, d): 40def get_gcc_ppc_plt_settings(bb, d):
41 if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc' ] and not bb.utils.contains('DISTRO_FEATURES', 'bssplt', True, False, d): 41 if d.getVar('TRANSLATED_TARGET_ARCH') in [ 'powerpc', 'powerpc64' ] and not bb.utils.contains('DISTRO_FEATURES', 'bssplt', True, False, d):
42 return "--enable-secureplt" 42 return "--enable-secureplt"
43 return "" 43 return ""
44 44