summaryrefslogtreecommitdiff
path: root/kc/core/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kc/core/Makefile')
-rw-r--r--kc/core/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kc/core/Makefile b/kc/core/Makefile
index cd440a1..589616f 100644
--- a/kc/core/Makefile
+++ b/kc/core/Makefile
@@ -17,8 +17,8 @@ GOBJS := entry_x86_64.o reloc_x86_64.o kprint.o serial.o port.o mmu.o \
IOBJS :=
# __attribute__((interrupt)) requires -mgeneral-regs-only
-$(IOBJS): CFLAGS += -mgeneral-regs-only
-$(IOBJS) $(GOBJS): CFLAGS += -mcmodel=small -fPIC
+$(GOBJS): CFLAGS += -mgeneral-regs-only
+$(GOBJS): CFLAGS += -mcmodel=small -fPIC
OBJS := $(SOBJS) $(GOBJS) $(IOBJS)
DEPS := $(patsubst %.o,%.d,$(OBJS))