riscv: Support building with Clang
authorkleines Filmröllchen <malu.bertsch@gmail.com>
Thu, 25 Jan 2024 14:06:59 +0000 (15:06 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 31 Jan 2024 08:52:36 +0000 (16:52 +0800)
commitee9f9d6a41957d03ab414c0d86d68224693e1761
treef454d74c1a79d29a133065fd9b3eba90eb5139ab
parent6b0520c939e068aee9f367be951133c249447082
riscv: Support building with Clang

The -ffixed-gp option of GCC has an exact equivalent of -ffixed-x3 in
Clang.

Signed-off-by: kleines Filmröllchen <filmroellchen@serenityos.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/riscv/config.mk