nova: enable nx bit handling for x86_64

Issue #1723
This commit is contained in:
Alexander Boettcher
2017-10-13 14:18:29 +02:00
committed by Christian Helmuth
parent db329b02b5
commit f2c3225ab6
8 changed files with 130 additions and 143 deletions

View File

@ -29,7 +29,7 @@ CC_OPT += -mpreferred-stack-boundary=2 -mregparm=3
else
ifeq ($(filter-out $(SPECS),64bit),)
override CC_MARCH = -m64
CC_WARN += -Wframe-larger-than=240
CC_WARN += -Wframe-larger-than=256
CC_OPT += -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone
else
$(error Unsupported environment)