From 51cfcb98bde7e78b4817a9060885b25b6c3d354c Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Fri, 18 Mar 2022 12:24:48 +0000 Subject: now using clang, native PE UEFI loader image. made an ugly hack to get into the shim. it's probably ok. --- kc/core/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kc/core/Makefile') diff --git a/kc/core/Makefile b/kc/core/Makefile index 4d373cd..394b2dc 100644 --- a/kc/core/Makefile +++ b/kc/core/Makefile @@ -19,7 +19,7 @@ IOBJS := # __attribute__((interrupt)) requires -mgeneral-regs-only $(GOBJS): CFLAGS += -mgeneral-regs-only -$(GOBJS): CFLAGS += -mcmodel=small -fPIC +$(GOBJS): CFLAGS += -mcmodel=small OBJS := $(SOBJS) $(GOBJS) $(IOBJS) DEPS := $(patsubst %.o,%.d,$(OBJS)) -- cgit v1.3.1-1-g115d