0001-dont-force-stack-smashing-protection.patch 485 B

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