File section-tester.patch of Package fwupd-efi2
From 38d9cee2df3ad4c0535d1c8e37235c41852ebbb2 Mon Sep 17 00:00:00 2001
From: Callum Farmer <gmbr3@opensuse.org>
Date: Mon, 1 Apr 2024 15:46:40 +0100
Subject: [PATCH] section tester patch
---
efi/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/efi/meson.build b/efi/meson.build
index 79e09c4..1278de9 100644
--- a/efi/meson.build
+++ b/efi/meson.build
@@ -175,6 +175,8 @@ compile_args = ['-Og',
'-funsigned-char',
'-fshort-wchar',
'-ffreestanding',
+ '-fdata-sections',
+ '-ffunction-sections',
'-fno-strict-aliasing',
'-fno-stack-protector',
'-fno-stack-check',