x86: remove endbr32 in Ubuntu 20.04 with a CPU newer than Comet Lake

This commit is contained in:
Zihao Yu 2020-10-11 14:42:32 +08:00
parent 98ff649a54
commit 0f6f91dee3

View file

@ -1,3 +1,4 @@
CFLAGS += -m32 -fno-pic -fno-omit-frame-pointer -march=i386
CFLAGS += -fcf-protection=none # remove endbr32 in Ubuntu 20.04 with a CPU newer than Comet Lake
ASFLAGS += -m32 -fno-pic
LDFLAGS += -melf_i386