Merge pull request #1262 from developandplay/demo-fix-bp
Fix demo.bin compilation for BlackParrot
This commit is contained in:
commit
df1cb4eea1
|
@ -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