From f0fe7c5ff003c714e76a7522967a0519a191cdf7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 24 Oct 2020 13:20:35 +0200 Subject: Forced ccache compilation ...and some fixes :) --- kernel/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kernel') 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 -- cgit v1.2.3