mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +00:00
Only the kernel needs to build with default includes disabled.
This commit is contained in:
parent
cef161c2bc
commit
7a2da54c07
2 changed files with 2 additions and 1 deletions
|
@ -85,6 +85,7 @@ OBJS = $(CXX_OBJS) Boot/boot.ao
|
||||||
|
|
||||||
KERNEL = kernel
|
KERNEL = kernel
|
||||||
CXXFLAGS += -ffreestanding -mregparm=3 -mno-80387 -mno-mmx -mno-sse -mno-sse2
|
CXXFLAGS += -ffreestanding -mregparm=3 -mno-80387 -mno-mmx -mno-sse -mno-sse2
|
||||||
|
CXXFLAGS += -nostdinc++ -nostdlib -nostdinc
|
||||||
DEFINES += -DKERNEL
|
DEFINES += -DKERNEL
|
||||||
LDFLAGS += -Ttext 0x10000 -Wl,-T linker.ld -nostdlib
|
LDFLAGS += -Ttext 0x10000 -Wl,-T linker.ld -nostdlib
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
ARCH_FLAGS =
|
ARCH_FLAGS =
|
||||||
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc -Wno-sized-deallocation -fno-sized-deallocation
|
STANDARD_FLAGS = -std=c++17 -Wno-sized-deallocation -fno-sized-deallocation
|
||||||
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
|
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings -Wimplicit-fallthrough
|
||||||
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
|
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
|
||||||
OPTIMIZATION_FLAGS = -Os
|
OPTIMIZATION_FLAGS = -Os
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue