Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: Fix toolchain vector detection
[ Upstream commit 5ba7a75 ] A recent change to gcc flags rv64iv as no longer valid: cc1: sorry, unimplemented: Currently the 'V' implementation requires the 'M' extension and as a result vector support is disabled. Fix this by adding m to our toolchain vector detection code. Signed-off-by: Anton Blanchard <[email protected]> Fixes: fa8e7cc ("riscv: Enable Vector code to be built") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information