summaryrefslogtreecommitdiff
path: root/kc/boot/Makefile
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2022-03-18 12:24:48 +0000
committerAda Christine <adachristine18@gmail.com>2022-03-18 12:24:48 +0000
commit51cfcb98bde7e78b4817a9060885b25b6c3d354c (patch)
treea7ba8214cdfbc170dceded6e8deb883efd100ae4 /kc/boot/Makefile
parent5826f2045cca28b7c9ba8a5b65b4b4928eb6b461 (diff)
now using clang, native PE UEFI loader image. made an ugly hack to get
into the shim. it's probably ok.
Diffstat (limited to 'kc/boot/Makefile')
-rw-r--r--kc/boot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kc/boot/Makefile b/kc/boot/Makefile
index 297b6df..b90f183 100644
--- a/kc/boot/Makefile
+++ b/kc/boot/Makefile
@@ -8,6 +8,9 @@ TARGET := efi.os
.DEFAULT: $(TARGET)
CPPFLAGS += -I../../api -I ../api -I../../lib
+
+CFLAGS += -fshort-wchar
+
OBJS := entry_x86_64.o reloc_x86_64.o dynamic_x86_64.o \
kc_main.o elf64.o memcmp.o memcpy.o \
memmove.o memset.o loader_paging.o