mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
Kernel: Build without debugging symbols by default
Compiling with -g adds roughly 30% to kernel build times. Anyone who wants this can turn it on locally instead.
This commit is contained in:
parent
edb66f214d
commit
a731ccd4a0
Notes:
sideshowbarker
2024-07-19 09:09:40 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a731ccd4a0b
@ -121,11 +121,11 @@ KERNEL = 1
|
||||
PROGRAM = kernel
|
||||
|
||||
SUBPROJECT_CXXFLAGS += -pie -fPIE -ffreestanding -fbuiltin -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables
|
||||
SUBPROJECT_CXXFLAGS += -nostdlib -nostdinc -nostdinc++ -g3
|
||||
SUBPROJECT_CXXFLAGS += -nostdlib -nostdinc -nostdinc++
|
||||
SUBPROJECT_CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/
|
||||
SUBPROJECT_CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/i686-pc-serenity/
|
||||
|
||||
LDFLAGS += -Wl,-T linker.ld -nostdlib -lgcc -lstdc++ -g3
|
||||
LDFLAGS += -Wl,-T linker.ld -nostdlib -lgcc -lstdc++
|
||||
|
||||
all: $(PROGRAM) $(MODULE_OBJS) kernel.map
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user