mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-31 16:37:07 +00:00
HV: Enable the -O2 option for HV
Now the -O0 option is used. In such case the code is not optimized. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Zheng Gen <gen.zheng@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -28,7 +28,7 @@ CFLAGS += -fshort-wchar -ffreestanding
|
||||
CFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387
|
||||
CFLAGS += -mno-red-zone
|
||||
CFLAGS += -static -nostdinc -nostdlib -fno-common
|
||||
CFLAGS += -O0 -D_FORTIFY_SOURCE=2
|
||||
CFLAGS += -O2 -D_FORTIFY_SOURCE=2
|
||||
CFLAGS += -Wformat -Wformat-security
|
||||
|
||||
ifdef STACK_PROTECTOR
|
||||
|
Reference in New Issue
Block a user