~xdavidwu/systemd-apkbuilds

ref: c3600c8011590a2695ca7fa21a665886b6daa7a8 systemd-apkbuilds/systemd/0101-efi-do-not-set-wide-exec-charset.patch -rw-r--r-- 764 bytes
c3600c80Pinghao Wu systemd: 257.2 a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 32665a6195c1e30ece599a21dd8562e38d7d5b35 Mon Sep 17 00:00:00 2001
From: xdavidwu <xdavidwuph@gmail.com>
Date: Sat, 5 Aug 2023 23:21:57 +0800
Subject: [PATCH] efi: do not set wide-exec-charset

setting to UCS2 produces unbootable binary on musl (iconv difference?)
---
 src/boot/efi/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/boot/meson.build b/src/boot/meson.build
index 1c52629..59140cb 100644
--- a/src/boot/meson.build
+++ b/src/boot/meson.build
@@ -137,7 +137,6 @@ efi_c_args = [
 ]
 
 efi_c_args += cc.get_supported_arguments(
-        '-fwide-exec-charset=UCS2',
         # gcc docs says this is required for ms_abi to work correctly.
         '-maccumulate-outgoing-args',
         '-mstack-protector-guard=global',
-- 
2.41.0