cpu/femtorv/core: Generate gcc_flags from GCC_FLAGS/Variants.
This commit is contained in:
parent
828f763b48
commit
a96304e287
|
@ -59,8 +59,7 @@ class FemtoRV(CPU):
|
||||||
# GCC Flags.
|
# GCC Flags.
|
||||||
@property
|
@property
|
||||||
def gcc_flags(self):
|
def gcc_flags(self):
|
||||||
flags = "-march=rv32i "
|
flags = GCC_FLAGS[self.variant]
|
||||||
flags += "-mabi=ilp32 "
|
|
||||||
flags += " -D__femtorv__ "
|
flags += " -D__femtorv__ "
|
||||||
return flags
|
return flags
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue