mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-03 09:55:01 +00:00
hv:fixed compilation error in Ubuntu
it uses builtin function(__builtin_popcountl)in bitmap_weight(), it will use the 'popcnt' instruction, this patch enable 'popcnt' instruction support in Makefile Tracked-On: #3663 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
c9c02785cb
commit
187fa97e52
@@ -78,7 +78,7 @@ CFLAGS += -ffunction-sections -fdata-sections
|
||||
CFLAGS += -fshort-wchar -ffreestanding
|
||||
CFLAGS += -fsigned-char
|
||||
CFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387
|
||||
CFLAGS += -mno-red-zone
|
||||
CFLAGS += -mno-red-zone -mpopcnt
|
||||
CFLAGS += -nostdinc -nostdlib -fno-common
|
||||
CFLAGS += -Werror
|
||||
CFLAGS += -O2
|
||||
|
Reference in New Issue
Block a user