xref: /OK3568_Linux_fs/buildroot/package/powertop/0001-dont-force-stack-smashing-protection.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Do not pass -fstack-protector unconditionally
2
3Using -fstack-protector only works when the toolchain has SSP support.
4
5Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6
7Index: 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) \
19