sudo: disable SSP for auxiliary build tools mksiglist and mksigname
authorTomas Frydrych <tomas@sleepfive.com>
Sat, 27 Apr 2013 08:43:38 +0000 (09:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 14:30:27 +0000 (15:30 +0100)
commit972982f3394013bb1efe0a5ad8c59a89bbfd3cde
tree6eac28831cc3423a1a9082b433ac711a597da17b
parent2c210fb8be01cadc2e1cde8622d3f0157d30100c
sudo: disable SSP for auxiliary build tools mksiglist and mksigname

The do_compile_prepend() fragment ensures that the non-installable build
tools mksiglist and mksigname are built using the BUILD_CC, but if the the
BUILD_CC does not support SSP and the cross compiler does, the build fails
due to the SSP flags set in the Makefile. Ensuring that SSP is not enabled
when building these tools prevents this from happening.

(From OE-Core rev: ad9a9c6e6b4f00bc47449bbe8c85777ea7c89b88)

Signed-off-by: Tomas Frydrych <tomas@sleepfive.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sudo/sudo.inc