Fix demo bin compilation for BlackParrot
Same issue as: https://github.com/enjoy-digital/litex/pull/1245
This commit is contained in:
parent
c400479174
commit
1106da4e35
|
@ -83,6 +83,7 @@ class BlackParrot(CPU):
|
||||||
flags = "-mno-save-restore "
|
flags = "-mno-save-restore "
|
||||||
flags += GCC_FLAGS[self.variant]
|
flags += GCC_FLAGS[self.variant]
|
||||||
flags += "-D__blackparrot__ "
|
flags += "-D__blackparrot__ "
|
||||||
|
flags += "-mcmodel=medany"
|
||||||
return flags
|
return flags
|
||||||
|
|
||||||
def __init__(self, platform, variant="standard"):
|
def __init__(self, platform, variant="standard"):
|
||||||
|
|
Loading…
Reference in New Issue