The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / powertop / 0002-dont-force-stack-smashing-protection.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/powertop/0002-dont-force-stack-smashing-protection.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/powertop/0002-dont-force-stack-smashing-protection.patch
new file mode 100644 (file)
index 0000000..75ed2d1
--- /dev/null
@@ -0,0 +1,18 @@
+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) \