diff options
author | Stelios Tsampas | 2022-01-06 16:29:12 +0200 |
---|---|---|
committer | Stelios Tsampas | 2022-01-06 16:29:12 +0200 |
commit | 3f59ec788c2b22f370f034b500c9bca89ceadb81 (patch) | |
tree | ae62d46c6bfd3b79307d6a1e45f5db930eabf304 /PKGBUILD | |
parent | 3156f1b69b8ca66587012f40baf00ef3fba2dbf1 (diff) | |
download | aur-3f59ec788c2b22f370f034b500c9bca89ceadb81.tar.gz |
Version 7.0rc3-GE-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com> pkgname=proton-ge-custom -_srctag=7.0rc2-GE-1 +_srctag=7.0rc3-GE-1 _commit= pkgver=${_srctag//-/.} _geckover=2.47.2 @@ -144,12 +144,13 @@ noextract=( ) _make_wrappers () { - local _i686=(i686 "-m32" "-melf_i386") - local _x86_64=(x86_64 "" "") + # _arch prefix gcc ld as + local _i686=( "i686" "-m32" "-melf_i386" "--32") + local _x86_64=("x86_64" "-m64" "-melf_x86_64" "--64") local _opts=(_i686 _x86_64) declare -n _opt for _opt in "${_opts[@]}"; do - for l in ar as ranlib nm; do + for l in ar ranlib nm; do ln -s /usr/bin/$l wrappers/${_opt[0]}-pc-linux-gnu-$l done for t in gcc g++; do @@ -162,6 +163,10 @@ EOF #!/usr/bin/bash /usr/bin/ld ${_opt[2]} "\$@" EOF + install -Dm755 /dev/stdin wrappers/${_opt[0]}-pc-linux-gnu-as <<EOF +#!/usr/bin/bash +/usr/bin/as ${_opt[3]} "\$@" +EOF done } |