nim: enable on ppc32

[ci skip]
This commit is contained in:
q66 2019-11-29 05:29:52 +01:00 committed by Helmut Pozimski
parent d31ff8a5d1
commit d9282fee75

View file

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