0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-27 15:42:29 +00:00
Files
packages/utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
Vladimir Ermakov 8ff1f55791 qemu: refresh patches to include git headers
Use git format-patch to be able to use git am later, to fix openwrt/openwrt#10272 .
Remove patch to skip tests as not needed anymore.
Then apply refresh.

Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2025-06-22 09:54:52 +02:00

23 lines
683 B
Diff

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
@@ -780,6 +780,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"
;;