buildroot/package/powertop/0001-dont-force-stack-smashing-protection.patch
Romain Naour 01048deab6 package/powertop: bump to version 2.9
Remove upstream patch, so we don't need to autoreconf
Rename patch 0002 -> 0001
Add POWERTOP_SOURCE to adjust to the new archive naming.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-11 23:34:49 +02:00

19 lines
485 B
Diff

Do not pass -fstack-protector unconditionally
Using -fstack-protector only works when the toolchain has SSP support.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Index: b/src/Makefile.am
===================================================================
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -127,7 +127,6 @@
-Wformat \
-Wshadow \
-fno-omit-frame-pointer \
- -fstack-protector \
$(GLIB2_CFLAGS) \
$(LIBNL_CFLAGS) \
$(NCURSES_CFLAGS) \