packages/utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
Yousong Zhou 8875e3c513 qemu: bump to version 4.0.0
Group configure options by the functionality category they roughly
belong to

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-04-30 12:46:45 +00:00

24 lines
742 B
Diff

From cbb0971d0d1bc32413095810e24f17eb7169810a Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Sat, 24 Feb 2018 13:43:19 +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(+)
diff --git a/configure b/configure
index 1c563a7027..f4d949b35b 100755
--- a/configure
+++ b/configure
@@ -1518,6 +1518,8 @@ for opt do
;;
--disable-libpmem) libpmem=no
;;
+ --disable-fortify-source) fortify_source="no"
+ ;;
*)
echo "ERROR: unknown option $opt"
echo "Try '$0 --help' for more information"