X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B?a=blobdiff_plain;f=kernel%2FMakefile;h=8bb12d83f070c44c38e33bdaf5001336f6844c46;hb=96b81920dce6c169f32fc4d5b724b4046ea9bfcd;hp=b510e802636d9de0a49ce5ce27d0d10dd85f6948;hpb=119dc631e1b417eec4f0eb2d8373d034b53d0f2e;p=nameless-os.git diff --git a/kernel/Makefile b/kernel/Makefile index b510e80..8bb12d8 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -6,7 +6,7 @@ ASFLAGS_BASE = -f elf -g dwarf2 CFLAGS_BASE = -fgnu89-inline -ffreestanding -nostdlib -Iinclude \ -Iinclude/arch/x86 -g -DGIT_COMMIT=\"$(GIT_REV)\" \ -Og -LDFLAGS_BASE = -ffreestanding -nostdlib -lgcc -g -flto -T arch/x86/linker.ld +LDFLAGS_BASE = -ffreestanding -nostdlib -lgcc -g -T arch/x86/linker.ld kernel.elf kernel.dbg: $(KERNEL_OBJ) $(REAL_CC) $(LDFLAGS_BASE) $(LDFLAGS) $^ -o $@