mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 19:22:40 +00:00
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:
@@ -131,7 +131,7 @@ ifeq ($(ucpu),powerpc)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ucpu),ppc)
|
||||
mycpu = ppc
|
||||
mycpu = powerpc
|
||||
endif
|
||||
ifneq (,$(filter $(ucpu), mips mips64))
|
||||
mycpu = $(shell /bin/sh -c '"$(CC)" -dumpmachine | sed "s/-.*//"')
|
||||
|
||||
Reference in New Issue
Block a user