mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-23 21:15:14 +00:00
Only the kernel needs to build with default includes disabled.
This commit is contained in:
parent
cef161c2bc
commit
7a2da54c07
Notes:
sideshowbarker
2024-07-19 14:07:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/7a2da54c079
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
FLAVOR_FLAGS = -fno-exceptions -fno-rtti
|
||||
OPTIMIZATION_FLAGS = -Os
|
||||
|
|
Loading…
Add table
Reference in a new issue