nim: enable on ppc32
[ci skip]
This commit is contained in:
parent
d31ff8a5d1
commit
d9282fee75
1 changed files with 4 additions and 1 deletions
|
@ -44,16 +44,19 @@ do_build() {
|
|||
arm*) _arch=arm;;
|
||||
ppc64le*) _arch=powerpc64el;;
|
||||
ppc64*) _arch=powerpc64;;
|
||||
ppc*) _arch=powerpc;;
|
||||
esac
|
||||
|
||||
case "$XBPS_TARGET_MACHINE"
|
||||
in arm*|aarch64*|ppc64*)
|
||||
in arm*|aarch64*|ppc*)
|
||||
ed config/nim.cfg <<-EDIT
|
||||
,s/^arm.linux.gcc.exe .*/arm.linux.gcc.exe = "$CC"/
|
||||
,s/^arm.linux.gcc.linkerexe .*/arm.linux.gcc.linkerexe = "$CC"/
|
||||
a
|
||||
arm64.linux.gcc.exe = "$CC"
|
||||
arm64.linux.gcc.linkerexe = "$CC"
|
||||
powerpc.linux.gcc.exe = "$CC"
|
||||
powerpc.linux.gcc.linkerexe = "$CC"
|
||||
powerpc64.linux.gcc.exe = "$CC"
|
||||
powerpc64.linux.gcc.linkerexe = "$CC"
|
||||
powerpc64el.linux.gcc.exe = "$CC"
|
||||
|
|
Loading…
Reference in a new issue