sudo: don't use hardening flags on host tools
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 20 Sep 2014 11:09:30 +0000 (08:09 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Sep 2014 17:56:33 +0000 (19:56 +0200)
commit22b65765556d544678749fc24fcd03d968a9a1c5
tree6e195fa28f0c57a8bccf1b47a6131a9f4e62ed18
parentb1b34d7ee13db034c2039c6f682a4584d66f25cb
sudo: don't use hardening flags on host tools

Don't use hardening (SSP_CFLAGS & PIE_CFLAGS) flags on host tools since
the host compiler may differ wildly from the tests run on the cross
compiler and they might not work. Fixes:
http://autobuild.buildroot.net/results/b10/b1091bd04ab988744548b74fb48c64bf291fed2f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/sudo/sudo-0002-drop-sspcflags-piecflags-for-host.patch [new file with mode: 0644]