aboutsummaryrefslogtreecommitdiff
path: root/utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
blob: ccd2fc6d0f6ef34c9ede857d2d1eb99d5eb59b0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 871bc03884e8dd4a4b50d05022e347e72f4733d9 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Mon, 11 May 2020 10:46:09 +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(+)

--- a/configure
+++ b/configure
@@ -758,6 +758,8 @@ for opt do
   ;;
   --gdb=*) gdb_bin="$optarg"
   ;;
+  --disable-fortify-source) fortify_source="no"
+  ;;
   # everything else has the same name in configure and meson
   --*) meson_option_parse "$opt" "$optarg"
   ;;