Working PIT irqs, fix GDT bugs
This commit is contained in:
@@ -26,13 +26,16 @@ kernel_ldflags := -mcpu=i386 \
|
||||
-ffreestanding \
|
||||
-fno-builtin \
|
||||
-fuse-ld=lld \
|
||||
-flto \
|
||||
-static \
|
||||
-Wl,--build-id=none \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--strip-all \
|
||||
$(clang_res_dir)/lib/*/libclang_rt.builtins-i386.a
|
||||
|
||||
ifeq ($(build),debug)
|
||||
kernel_ldflags += -g
|
||||
endif
|
||||
|
||||
ifeq ($(build),release)
|
||||
kernel_ldflags += -Wl,--gc-sections \
|
||||
-Wl,--strip-all \
|
||||
-flto
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user