1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:47:34 +00:00

Only the kernel needs to build with default includes disabled.

This commit is contained in:
Andreas Kling 2019-05-16 13:40:43 +02:00
parent cef161c2bc
commit 7a2da54c07
2 changed files with 2 additions and 1 deletions

View file

@ -85,6 +85,7 @@ OBJS = $(CXX_OBJS) Boot/boot.ao
KERNEL = kernel
CXXFLAGS += -ffreestanding -mregparm=3 -mno-80387 -mno-mmx -mno-sse -mno-sse2
CXXFLAGS += -nostdinc++ -nostdlib -nostdinc
DEFINES += -DKERNEL
LDFLAGS += -Ttext 0x10000 -Wl,-T linker.ld -nostdlib