X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B?a=blobdiff_plain;f=kernel%2FMakefile;h=b510e802636d9de0a49ce5ce27d0d10dd85f6948;hb=138126cbc8962bf148274a568916ac45454e84b7;hp=821e4942fbe3efb630685a8cfc271212606255c3;hpb=2fe1e5020baffbec00f48fe56bfce0d9860a9ee1;p=nameless-os.git diff --git a/kernel/Makefile b/kernel/Makefile index 821e494..b510e80 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -5,7 +5,7 @@ include kernel/Makefile ASFLAGS_BASE = -f elf -g dwarf2 CFLAGS_BASE = -fgnu89-inline -ffreestanding -nostdlib -Iinclude \ -Iinclude/arch/x86 -g -DGIT_COMMIT=\"$(GIT_REV)\" \ - -O2 -flto + -Og LDFLAGS_BASE = -ffreestanding -nostdlib -lgcc -g -flto -T arch/x86/linker.ld kernel.elf kernel.dbg: $(KERNEL_OBJ)