[arch-commits] Commit in mingw-w64-binutils/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 9 13:28:59 UTC 2021
Date: Sunday, May 9, 2021 @ 13:28:59
Author: felixonmars
Revision: 929177
archrelease: copy trunk to community-x86_64
Added:
mingw-w64-binutils/repos/community-x86_64/PKGBUILD
(from rev 929176, mingw-w64-binutils/trunk/PKGBUILD)
Deleted:
mingw-w64-binutils/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 100 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 51 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 13:28:44 UTC (rev 929176)
+++ PKGBUILD 2021-05-09 13:28:59 UTC (rev 929177)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=mingw-w64-binutils
-pkgver=2.35.1
-pkgrel=1
-pkgdesc="Cross binutils for the MinGW-w64 cross-compiler"
-arch=('x86_64')
-url="http://www.gnu.org/software/binutils"
-license=('GPL')
-groups=('mingw-w64-toolchain' 'mingw-w64')
-depends=('zlib')
-options=('!libtool' '!emptydirs')
-validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F') # Nick Clifton (Chief Binutils Maintainer) <nickc at redhat.com>
-source=("https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz"{,.sig})
-sha512sums=('ef5d84b8d9568615aed00ac661267c5eccfcb805a3643f94a2f8220d0c4dd1c6001c8d95a3507599b8cd0e87b15b1e320500ca34580927fb813209ad98a34b16'
- 'SKIP')
-
-_targets="i686-w64-mingw32 x86_64-w64-mingw32"
-
-prepare() {
- cd "$srcdir"/binutils-${pkgver}
- #do not install libiberty
- sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
- # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
- sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
-build() {
- for _target in $_targets; do
- msg "Building ${_target} cross binutils"
- mkdir -p "$srcdir"/binutils-${_target} && cd "${srcdir}/binutils-${_target}"
- "$srcdir"/binutils-${pkgver}/configure --prefix=/usr \
- --target=${_target} \
- --infodir=/usr/share/info/${_target} \
- --enable-lto --enable-plugins \
- --enable-deterministic-archives \
- --disable-multilib --disable-nls \
- --disable-werror
- make
- done
-}
-
-package() {
- for _target in ${_targets}; do
- msg "Installing ${_target} cross binutils"
- cd "$srcdir"/binutils-${_target}
- make DESTDIR="$pkgdir" install
- done
-}
Copied: mingw-w64-binutils/repos/community-x86_64/PKGBUILD (from rev 929176, mingw-w64-binutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-09 13:28:59 UTC (rev 929177)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mingw-w64-binutils
+pkgver=2.36
+pkgrel=1
+pkgdesc="Cross binutils for the MinGW-w64 cross-compiler"
+arch=('x86_64')
+url="http://www.gnu.org/software/binutils"
+license=('GPL')
+groups=('mingw-w64-toolchain' 'mingw-w64')
+depends=('zlib')
+options=('!libtool' '!emptydirs')
+validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F') # Nick Clifton (Chief Binutils Maintainer) <nickc at redhat.com>
+source=("https://ftp.gnu.org/gnu/binutils/binutils-${pkgver}.tar.gz"{,.sig})
+sha512sums=('60a307a7ebc613f24cfcec591c818349ca5ac20596f4aea1977781b443718c4fafcbc08db835604ba85054269a7088cd28411f6f437f2dcef7cf22a2c76320e9'
+ 'SKIP')
+
+_targets="i686-w64-mingw32 x86_64-w64-mingw32"
+
+prepare() {
+ cd "$srcdir"/binutils-${pkgver}
+ #do not install libiberty
+ sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
+ # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
+}
+
+build() {
+ for _target in $_targets; do
+ echo "Building ${_target} cross binutils"
+ mkdir -p "$srcdir"/binutils-${_target} && cd "${srcdir}/binutils-${_target}"
+ "$srcdir"/binutils-${pkgver}/configure --prefix=/usr \
+ --target=${_target} \
+ --infodir=/usr/share/info/${_target} \
+ --enable-lto --enable-plugins \
+ --enable-deterministic-archives \
+ --disable-multilib --disable-nls \
+ --disable-werror
+ make
+ done
+}
+
+package() {
+ for _target in ${_targets}; do
+ echo "Installing ${_target} cross binutils"
+ cd "$srcdir"/binutils-${_target}
+ make DESTDIR="$pkgdir" install
+
+ rm "$pkgdir"/usr/lib/bfd-plugins/libdep.so
+ done
+}
More information about the arch-commits
mailing list