aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 599412e..3fd5108 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -18,10 +18,10 @@ COBJS = main.o \
features/syscall.o \
features/net.o \
features/event.o
-CC = ../cross/opt/bin/i686-elf-gcc
-LD = ../cross/opt/bin/i686-elf-ld
-OC = ../cross/opt/bin/i686-elf-objcopy
-AS = nasm
+CC = ccache ../cross/opt/bin/i686-elf-gcc
+LD = ccache ../cross/opt/bin/i686-elf-ld
+OC = ccache ../cross/opt/bin/i686-elf-objcopy
+AS = ccache nasm
# TODO: Fix -Ofast crash
CFLAGS = -Wall -Wextra -Wno-address-of-packed-member -nostdlib -nostdinc -ffreestanding -fno-builtin -mno-red-zone -mgeneral-regs-only -std=c99 -m32 -pedantic-errors -Wl,-ekernel_main -I../libc/inc/ -Iinc/ -Dkernel -O0