summaryrefslogtreecommitdiffstats
path: root/utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
blob: 57ea83d1965af042b8f3f84ba79d5b5e4d8d111f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From f0ada26ef03a37aa4b8c97246b93ab3bdf1db580 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Mon, 11 May 2020 10:46:09 +0800
Subject: [PATCH 1/4] 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
@@ -791,6 +791,8 @@ for opt do
   ;;
   --disable-rust) rust=disabled
   ;;
+  --disable-fortify-source) fortify_source="no"
+  ;;
   # everything else has the same name in configure and meson
   --*) meson_option_parse "$opt" "$optarg"
   ;;