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.

22 lines
744 B

  1. From 871bc03884e8dd4a4b50d05022e347e72f4733d9 Mon Sep 17 00:00:00 2001
  2. From: Yousong Zhou <yszhou4tech@gmail.com>
  3. Date: Mon, 11 May 2020 10:46:09 +0800
  4. Subject: [PATCH] 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. --- a/configure
  11. +++ b/configure
  12. @@ -1194,6 +1194,8 @@ for opt do
  13. ;;
  14. --enable-jemalloc) meson_option_parse --enable-malloc=jemalloc jemalloc
  15. ;;
  16. + --disable-fortify-source) fortify_source="no"
  17. + ;;
  18. # everything else has the same name in configure and meson
  19. --enable-* | --disable-*) meson_option_parse "$opt" "$optarg"
  20. ;;