You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
742 B

  1. From 82d1bb429533dcab4278ed21afc19ee303d7d3f5 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Sat, 24 Feb 2018 13:43:19 +0800
  4. Subject: [PATCH 1/4] configure: allow disable fortify_source
  5. Tell build system of qemu to not add _FORTIFY_SOURCE options and let the
  6. OpenWrt base build system decide flavor of fortify_source to use
  7. ---
  8. configure | 2 ++
  9. 1 file changed, 2 insertions(+)
  10. diff --git a/configure b/configure
  11. index 0a3c6a72c3..d274df816c 100755
  12. --- a/configure
  13. +++ b/configure
  14. @@ -1491,6 +1491,8 @@ for opt do
  15. ;;
  16. --disable-libpmem) libpmem=no
  17. ;;
  18. + --disable-fortify-source) fortify_source="no"
  19. + ;;
  20. *)
  21. echo "ERROR: unknown option $opt"
  22. echo "Try '$0 --help' for more information"