mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 05:58:42 +07:00
2f2b4fd674
GCC 9.x automatically enables support for Loongson MMI instructions when using some -march= flags, and then errors out when -msoft-float is specified with: cc1: error: ‘-mloongson-mmi’ must be used with ‘-mhard-float’ The kernel shouldn't be using these MMI instructions anyway, just as it doesn't use floating point instructions. Explicitly disable them in order to fix the build with GCC 9.x. Signed-off-by: Paul Burton <paul.burton@mips.com> Fixes: |
||
---|---|---|
.. | ||
.gitignore | ||
config-n32-o32-env.c | ||
elf.S | ||
genvdso.c | ||
genvdso.h | ||
Makefile | ||
sigreturn.S | ||
vdso.lds.S | ||
vgettimeofday.c |