Handle ppc CPU architecture (#20920)
* Remove confusing "ppc" block The PowerPC arch is called "powerpc" in platforms.nim The makefile shipped in release 1.6.10 populates the oFiles variable when myos=linux and mycpu=powerpc mycpu=ppc instead leads to ``no C code generated for: [linux: ppc]. Stop`` * Handle ucpu=ppc
This commit is contained in:
parent
c0daea7b31
commit
f644f04654
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ ifeq ($(ucpu),powerpc)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(ucpu),ppc)
|
ifeq ($(ucpu),ppc)
|
||||||
mycpu = ppc
|
mycpu = powerpc
|
||||||
endif
|
endif
|
||||||
ifneq (,$(filter $(ucpu), mips mips64))
|
ifneq (,$(filter $(ucpu), mips mips64))
|
||||||
mycpu = $(shell /bin/sh -c '"$(CC)" -dumpmachine | sed "s/-.*//"')
|
mycpu = $(shell /bin/sh -c '"$(CC)" -dumpmachine | sed "s/-.*//"')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue