]> code.ossystems Code Review - openembedded-core.git/commit
perl: Fix various nativesdk build issues
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Aug 2012 23:36:24 +0000 (16:36 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Aug 2012 17:22:19 +0000 (10:22 -0700)
commit38234f2e276356b1d77a87ceabc486107e336d19
tree90a5e593a757e119583fed6bafb1e43107103cec
parent81813c0e322dc04ce4b069117188d8a54dfddb8c
perl: Fix various nativesdk build issues

The config.sh lists -fstack-protector but this isn't in LDFLAGS. This
can result in perl compilation failures due to the mismatch. Adding the
flag to LDFLAGS solves makes all the flags consistent and avoids build
failures from missing symbols.

It was also found that the path substitutions made by the sed statement
can conflict with each other and you can end up with $prefix$prefix type
expressions in config.sh-X which can break the build in unusual ways.
This patch anchors the expressions to ensure only true matches are
replaced.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/perl/perl_5.14.2.bb