index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-08-28 22:21:13 +0300 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-08-28 22:21:44 +0300 |
commit | 0ed7250e1e35c94372aeeef01a376699bd235b37 (patch) | |
tree | ea6e2c3d3921ebdea93e92b966a0f3b4bc077ae8 | |
parent | a8b0b413a17816853baa51ca0b1e8a80ad109399 (diff) |
-rw-r--r-- | extra/efifs/PKGBUILD | 7 |
diff --git a/extra/efifs/PKGBUILD b/extra/efifs/PKGBUILD new file mode 100644 index 00000000..3b2cb869 --- /dev/null +++ b/extra/efifs/PKGBUILD @@ -0,0 +1,7 @@ +# Does w32-mingw32-gcc exist? I thought it was w64. +eval "$(declare -f prepare | sed 's@^}$@sed -i "s/MINGW_HOST = w32/MINGW_HOST = w64/" EfiFs/Make.common EfiFs-ia32/Make.common; }@')" + +# I can't figure this out, so bodge it instead +# error adding symbols: Archive has no index; run ranlib to add one +# Adding "s" to the ar command doesn't do it either +eval "$(declare -f build | sed "s@make -C EfiFs-ia32 ARCH='ia32'@make -C EfiFs-ia32 ARCH='ia32' || true; i686-w64-mingw32-ranlib EfiFs-ia32/grub/libgrub.a; make -C EfiFs-ia32 ARCH='ia32'@")" |