Skip to content

Commit 8caef8a

Browse files
committed
build: Pass -malign-double to C compiler on IA-32 EFI builds to match ABI expectations
1 parent 552a9a0 commit 8caef8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/common.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ ifeq ($(TARGET),uefi-ia32)
127127
-march=i686 \
128128
-mabi=sysv \
129129
-mno-80387 \
130-
-mno-mmx
130+
-mno-mmx \
131+
-malign-double
131132
override CPPFLAGS_FOR_TARGET := \
132133
-I ../picoefi/inc \
133134
$(CPPFLAGS_FOR_TARGET) \

0 commit comments

Comments
 (0)