qemu: explicitly disable dependency on libpmem, libudev, libxml2

Supersedes openwrt/packages#8571

Reported-by: Rosen Penev rosenp@gmail.com
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou
2019-04-02 06:45:02 +00:00
parent c75e155018
commit 160e84e91f
5 changed files with 40 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
From 0b4011cd0983ced6e065f397049f967656494793 Mon Sep 17 00:00:00 2001
From 82d1bb429533dcab4278ed21afc19ee303d7d3f5 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/3] configure: allow disable fortify_source
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
@@ -10,18 +10,15 @@ OpenWrt base build system decide flavor of fortify_source to use
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 0c6e757..8ea3fdd 100755
index 0a3c6a72c3..d274df816c 100755
--- a/configure
+++ b/configure
@@ -1313,6 +1313,8 @@ for opt do
@@ -1491,6 +1491,8 @@ for opt do
;;
--disable-git-update) git_update=no
--disable-libpmem) libpmem=no
;;
+ --disable-fortify-source) fortify_source="no"
+ ;;
*)
echo "ERROR: unknown option $opt"
echo "Try '$0 --help' for more information"
--
1.8.3.1