diff --git a/litex/soc/cores/cpu/femtorv/core.py b/litex/soc/cores/cpu/femtorv/core.py index 7a4a9f51d..a839b33ec 100644 --- a/litex/soc/cores/cpu/femtorv/core.py +++ b/litex/soc/cores/cpu/femtorv/core.py @@ -59,9 +59,8 @@ class FemtoRV(CPU): # GCC Flags. @property def gcc_flags(self): - flags = "-march=rv32i " - flags += "-mabi=ilp32 " - flags += "-D__femtorv__ " + flags = GCC_FLAGS[self.variant] + flags += " -D__femtorv__ " return flags def __init__(self, platform, variant="standard"):