added powerpc via AUR repository

This commit is contained in:
awyxx 2023-01-11 23:48:17 +00:00
parent 2f2a1e8947
commit fa28d70e62
1 changed files with 3 additions and 0 deletions

View File

@ -372,6 +372,9 @@ def powerpc_gcc_install():
# Fedora.
if "fedora" in os_release:
os.system("dnf install gcc-powerpc64le-linux-gnu") # FIXME: binutils-multiarch?
# Arch (AUR repository).
elif "arch" in os_release:
os.system("yay -S powerpc64le-linux-gnu-gcc")
# Ubuntu.
else:
os.system("apt install gcc-powerpc64le-linux-gnu binutils-multiarch")