python: fix disabling the SSL module
[buildroot-gz.git] / package / powertop / 0002-dont-force-stack-smashing-protection.patch
blob75ed2d1c24fef6a6b6aa9c5a58ff49cc582cb30a
1 Do not pass -fstack-protector unconditionally
3 Using -fstack-protector only works when the toolchain has SSP support.
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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) \