mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
nova: remove frame size compiler warnings
This commit is contained in:
parent
89b0eca383
commit
e483fc2525
@ -31,12 +31,10 @@ CC_OPT += -DCONFIG_MEMORY_DYN_MIN=0x1c00000 \
|
||||
CC_OPT_PIC :=
|
||||
ifeq ($(filter-out $(SPECS),32bit),)
|
||||
override CC_MARCH = -m32
|
||||
CC_WARN += -Wframe-larger-than=104
|
||||
CC_OPT += -mpreferred-stack-boundary=2 -mregparm=3
|
||||
else
|
||||
ifeq ($(filter-out $(SPECS),64bit),)
|
||||
override CC_MARCH = -m64
|
||||
CC_WARN += -Wframe-larger-than=256
|
||||
CC_OPT += -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone
|
||||
else
|
||||
$(error Unsupported environment)
|
||||
|
Loading…
Reference in New Issue
Block a user