75ed2d1c24fef6a6b6aa9c5a58ff49cc582cb30a
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / powertop / 0002-dont-force-stack-smashing-protection.patch
1 Do not pass -fstack-protector unconditionally
2
3 Using -fstack-protector only works when the toolchain has SSP support.
4
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6
7 Index: b/src/Makefile.am
8 ===================================================================
9 --- a/src/Makefile.am
10 +++ b/src/Makefile.am
11 @@ -127,7 +127,6 @@
12         -Wformat \
13         -Wshadow \
14         -fno-omit-frame-pointer \
15 -       -fstack-protector \
16         $(GLIB2_CFLAGS) \
17         $(LIBNL_CFLAGS) \
18         $(NCURSES_CFLAGS) \