:: commit 17ce3d75380237f944f2d1d157c8bfa8aab45f3d

Mintsuki <mintsuki@protonmail.com> — 2026-04-02 19:55

parents: 8c95baeea9

build: Use -malign-double for IA-32 UEFI to match UEFI spec struct alignment

diff --git a/common/common.mk b/common/common.mk
index 0e2dc5bf..56f3f414 100644
--- a/common/common.mk
+++ b/common/common.mk
@@ -125,6 +125,7 @@ ifeq ($(TARGET),uefi-ia32)
         -fshort-wchar \
         -m32 \
         -march=i686 \
+        -malign-double \
         -mabi=sysv \
         -mno-80387 \
         -mno-mmx
tab: 248 wrap: offon