mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +00:00
Don't use -mregparm=3 in userspace.
It's pretty comfy having arguments in registers in the kernel for now though.
This commit is contained in:
parent
04378d9063
commit
5158bee08c
11 changed files with 50 additions and 47 deletions
|
@ -8,7 +8,7 @@ ARCH_FLAGS =
|
|||
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib -nostdinc
|
||||
USERLAND_FLAGS = -ffreestanding -fno-stack-protector -fno-ident
|
||||
WARNING_FLAGS = -Wextra -Wall -Wundef -Wcast-qual -Wwrite-strings
|
||||
FLAVOR_FLAGS = -march=i386 -mregparm=3 -m32 -fno-exceptions -fno-rtti -fmerge-all-constants -fno-unroll-loops -fno-pie -fno-pic
|
||||
FLAVOR_FLAGS = -march=i386 -m32 -fno-exceptions -fno-rtti -fmerge-all-constants -fno-unroll-loops -fno-pie -fno-pic
|
||||
OPTIMIZATION_FLAGS = -Oz -fno-asynchronous-unwind-tables
|
||||
INCLUDE_FLAGS = -I.. -I. -I../LibC
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue