]> code.ossystems Code Review - openembedded-core.git/commit
perl-native: Remove usage of -fstack-protector=strong
authorAníbal Limón <anibal.limon@linux.intel.com>
Thu, 1 Dec 2016 16:34:25 +0000 (10:34 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Mar 2017 12:54:24 +0000 (12:54 +0000)
commit37fd073526811dee6edcfbb78a1864dd37991f4d
tree2038f6f7837cecf81eed0f2c4ca3420bb1684f2b
parent6718e2cbb40fb8cb90f98f297fdfb6cbf01d52c8
perl-native: Remove usage of -fstack-protector=strong

Some distributions (like opensuse421) supported by the project
comes with older gcc releases, -fstack-protector=strong is supported
by GCC>=4.9.

This causes a build failure when install perl-native from a sstate that
comes from a machine supporting -fstack-protector=strong [1].

So disable usage of this flag in perl-native builds, this patch could
be removed when all supported distros comes with GCC>=4.9.

[YOCTO #10338]

[1] http://errors.yoctoproject.org/Errors/Details/109589/

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/perl/perl-native_5.24.1.bb
meta/recipes-devtools/perl/perl/0001-Configure-Remove-fstack-protector-strong-for-native-.patch [new file with mode: 0644]