Fix demo bin compilation for BlackParrot

Same issue as:
https://github.com/enjoy-digital/litex/pull/1245
This commit is contained in:
developandplay 2022-04-02 00:17:35 +02:00
parent c400479174
commit 1106da4e35
1 changed files with 1 additions and 0 deletions

View File

@ -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"):