xinyangli
8e4feb4010
NJU-ProjectN/abstract-machine 3348db971fd860be5cb28e21c18f9d0e65d0c96a Merge pull request #8 from Jasonyanyusong/master
5 lines
248 B
Makefile
5 lines
248 B
Makefile
export CROSS_COMPILE := x86_64-linux-gnu-
|
|
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
|