diff options
author | Chris Severance | 2021-10-05 13:37:44 -0400 |
---|---|---|
committer | Chris Severance | 2021-10-05 13:37:44 -0400 |
commit | 987c8474d90f6c7e59e142607ab55f87f9ffd725 (patch) | |
tree | 31bd84025a3d68bdb89f82236fb4ff291d487e51 | |
parent | 6ee5e783b2cb6fb7ebcedab2b8faaa873f085582 (diff) | |
download | aur-lib32-libstdc++5.tar.gz |
autu: Update to 3.3.6-8 Long term compile fix
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 13 deletions
@@ -1,5 +1,3 @@ -# Generated by mksrcinfo v8 -# Fri Jan 25 22:04:47 UTC 2019 pkgbase = lib32-libstdc++5 pkgdesc = Legacy GNU Standard C++ library version 3 (32 bit) pkgver = 3.3.6 @@ -12,7 +10,7 @@ pkgbase = lib32-libstdc++5 makedepends = binutils makedepends = bash depends = lib32-gcc-libs - options = !makeflags + options = !buildflags source = https://gcc.gnu.org/pub/gcc/releases/gcc-3.3.6/gcc-core-3.3.6.tar.bz2 source = https://gcc.gnu.org/pub/gcc/releases/gcc-3.3.6/gcc-g++-3.3.6.tar.bz2 source = gcc-3.4.3-no_multilib_amd64.patch @@ -24,4 +22,3 @@ pkgbase = lib32-libstdc++5 sha256sums = dc2dc473071887ff6129c121950052398ed7c6fa1075ed839376030772068857 pkgname = lib32-libstdc++5 - @@ -11,7 +11,7 @@ url='http://gcc.gnu.org' license=('GPL' 'LGPL') depends=('lib32-gcc-libs') makedepends=('gcc-multilib' 'binutils' 'bash') -options=('!makeflags') +options=('!buildflags') source=( "https://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-"{core,g++}"-${pkgver}.tar.bz2" 'gcc-3.4.3-no_multilib_amd64.patch' @@ -79,8 +79,6 @@ build(){ local _copts=( #--build='i686-pc-linux-gnu' #--host='i686-pc-linux-gnu' - ) - ../gcc-${pkgver}/configure "${_copts[@]}" \ --enable-__cxa_atexit \ --enable-languages='c++' \ --enable-multilib \ @@ -88,25 +86,27 @@ build(){ --enable-threads='posix' \ --libdir='/usr/lib32' \ --prefix='/usr' + ) + ../gcc-${pkgver}/configure "${_copts[@]}" fi local _mflags=() - local _nproc="$(nproc)" - if [ "${_nproc}" -gt 8 ]; then - _nproc=8 - fi if [ -z "${MAKEFLAGS:=}" ] || [ "${MAKEFLAGS//-j/}" = "${MAKEFLAGS}" ]; then + local _nproc="$(nproc)" + if [ "${_nproc}" -gt 8 ]; then + _nproc=8 + fi _mflags+=('-j' "${_nproc}") fi # We build the full multilib libstdc++5 here, no idea how to restrict # the build process to the 32 bit version only. - nice make all-target-libstdc++-v3 BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS="-O" "${_mflags[@]}" + nice make 'all-target-libstdc++-v3' BOOT_CFLAGS="${CFLAGS}" STAGE1_CFLAGS='-O' "${_mflags[@]}" set +u } package() { set -u cd 'gcc-build' - make DESTDIR="${pkgdir}" install-target-libstdc++-v3 + make DESTDIR="${pkgdir}" 'install-target-libstdc++-v3' # Only install the lib32 files rm -rf "${pkgdir}/usr"/{include,share,lib} |