From d4fcdea769a4629c874ebe1801d83e854c94d5e4 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Sat, 24 Feb 2018 13:43:19 +0800
Subject: [PATCH] configure: allow disable fortify_source

Tell build system of qemu to not add _FORTIFY_SOURCE options and let the
OpenWrt base build system decide flavor of fortify_source to use
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 6099be1d84..b52d2cb406 100755
--- a/configure
+++ b/configure
@@ -1539,6 +1539,8 @@ for opt do
   ;;
   --disable-plugins) plugins="no"
   ;;
+  --disable-fortify-source) fortify_source="no"
+  ;;
   *)
       echo "ERROR: unknown option $opt"
       echo "Try '$0 --help' for more information"