summaryrefslogtreecommitdiff
path: root/kc/core/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/core/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/core/Makefile')
-rw-r--r--kc/core/Makefile2
1 files changed, 1 insertions, 1 deletions
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))