mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 12:12:16 +00:00
hv:enable the O2 option for HV
commit 5d19962d
removed O2 option improperly,
this patch re-enable it.
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
parent
76f104cf3d
commit
12fc8e9c8d
@ -74,6 +74,7 @@ CFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387
|
|||||||
CFLAGS += -mno-red-zone
|
CFLAGS += -mno-red-zone
|
||||||
CFLAGS += -nostdinc -nostdlib -fno-common
|
CFLAGS += -nostdinc -nostdlib -fno-common
|
||||||
CFLAGS += -Werror
|
CFLAGS += -Werror
|
||||||
|
CFLAGS += -O2
|
||||||
ifeq (y, $(CONFIG_RELOC))
|
ifeq (y, $(CONFIG_RELOC))
|
||||||
CFLAGS += -fpie
|
CFLAGS += -fpie
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user