mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:47:34 +00:00
Kernel: Don't build with -mregparm=3
It was really confusing to have different calling conventions in kernel and userspace. Also this has prevented us from linking with libgcc.
This commit is contained in:
parent
01b21e5e05
commit
1c6f8d3cbd
6 changed files with 54 additions and 52 deletions
|
@ -107,7 +107,7 @@ CXX_OBJS = $(KERNEL_OBJS) $(VFS_OBJS) $(AK_OBJS)
|
|||
OBJS = $(CXX_OBJS) Arch/i386/Boot/boot.ao
|
||||
|
||||
KERNEL = kernel
|
||||
CXXFLAGS += -ffreestanding -mregparm=3 -mno-80387 -mno-mmx -mno-sse -mno-sse2
|
||||
CXXFLAGS += -ffreestanding -mno-80387 -mno-mmx -mno-sse -mno-sse2
|
||||
CXXFLAGS += -nostdlib -nostdinc -nostdinc++
|
||||
CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/8.3.0/
|
||||
CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/8.3.0/i686-pc-serenity/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue