fwknop: init script improvements
[feed/packages.git] / utils / qemu / patches / 0001-configure-allow-disable-fortify_source.patch
1 From d4fcdea769a4629c874ebe1801d83e854c94d5e4 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/5] configure: allow disable fortify_source
5
6 Tell build system of qemu to not add _FORTIFY_SOURCE options and let the
7 OpenWrt base build system decide flavor of fortify_source to use
8 ---
9 configure | 2 ++
10 1 file changed, 2 insertions(+)
11
12 diff --git a/configure b/configure
13 index 6099be1d84..b52d2cb406 100755
14 --- a/configure
15 +++ b/configure
16 @@ -1539,6 +1539,8 @@ for opt do
17 ;;
18 --disable-plugins) plugins="no"
19 ;;
20 + --disable-fortify-source) fortify_source="no"
21 + ;;
22 *)
23 echo "ERROR: unknown option $opt"
24 echo "Try '$0 --help' for more information"