mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -121,11 +121,11 @@ KERNEL = 1
|
||||||
PROGRAM = kernel
|
PROGRAM = kernel
|
||||||
|
|
||||||
SUBPROJECT_CXXFLAGS += -pie -fPIE -ffreestanding -fbuiltin -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables
|
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/
|
||||||
SUBPROJECT_CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/i686-pc-serenity/
|
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
|
all: $(PROGRAM) $(MODULE_OBJS) kernel.map
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue