build/uefi: Pass -fshort-wchar to CC

This commit is contained in:
mintsuki 2023-05-27 16:55:49 +02:00
parent 844386487d
commit 0125dcd67a

View File

@ -84,6 +84,7 @@ endif
ifeq ($(TARGET),uefi-x86-64)
override CFLAGS_FOR_TARGET += \
-fPIE \
-fshort-wchar \
-m64 \
-march=x86-64 \
-mabi=sysv \
@ -103,6 +104,7 @@ endif
ifeq ($(TARGET),uefi-ia32)
override CFLAGS_FOR_TARGET += \
-fPIE \
-fshort-wchar \
-m32 \
-march=i686 \
-mabi=sysv \
@ -117,6 +119,7 @@ endif
ifeq ($(TARGET),uefi-aarch64)
override CFLAGS_FOR_TARGET += \
-fPIE \
-fshort-wchar \
-mgeneral-regs-only
override CPPFLAGS_FOR_TARGET := \
-I'$(call SHESCAPE,$(BUILDDIR))/limine-efi/inc' \