[arch-commits] Commit in aarch64-linux-gnu-glibc/repos/community-any (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Apr 18 01:05:43 UTC 2019


    Date: Thursday, April 18, 2019 @ 01:05:42
  Author: eschwartz
Revision: 451962

archrelease: copy trunk to community-any

Added:
  aarch64-linux-gnu-glibc/repos/community-any/PKGBUILD
    (from rev 451961, aarch64-linux-gnu-glibc/trunk/PKGBUILD)
Deleted:
  aarch64-linux-gnu-glibc/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 73 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-18 01:05:05 UTC (rev 451961)
+++ PKGBUILD	2019-04-18 01:05:42 UTC (rev 451962)
@@ -1,71 +0,0 @@
-# Maintainer: Anatol Pomozov
-
-_target=aarch64-linux-gnu
-pkgname=$_target-glibc
-pkgver=2.28
-pkgrel=1
-_commit=be176490b818b65b5162c332eb6b581690b16e5c
-pkgdesc="GNU C Library ARM64 target"
-arch=(any)
-url='https://www.gnu.org/software/libc/'
-license=('GPL' 'LGPL')
-depends=($_target-gcc $_target-linux-api-headers)
-options=(!buildflags !strip staticlibs)
-source=(https://ftp.gnu.org/gnu/libc/glibc-$pkgver.tar.xz{,.sig})
-sha1sums=('ccb5dc9e51a9884df8488f86982439d47b283b2a'
-          'SKIP')
-validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8)  # "Carlos O'Donell <carlos at systemhalted.org>"
-
-prepare() {
-  mkdir -p glibc-build
-}
-
-build() {
-  cd glibc-build
-
-  echo "slibdir=/lib" >> configparms
-  echo "rtlddir=/lib" >> configparms
-  echo "sbindir=/bin" >> configparms
-  echo "rootsbindir=/bin" >> configparms
-
-  # remove hardening options for building libraries
-  export CFLAGS="-U_FORTIFY_SOURCE -mlittle-endian -O2"
-  export CPPFLAGS="-U_FORTIFY_SOURCE -O2"
-  unset LD_LIBRARY_PATH
-
-  export BUILD_CC=gcc
-  export CC=${_target}-gcc
-  export CXX=${_target}-g++
-  export AR=${_target}-ar
-  export RANLIB=${_target}-ranlib
-
-  ../glibc-$pkgver/configure \
-      --prefix=/usr \
-      --target=$_target \
-      --host=$_target \
-      --build=$CHOST \
-      --libdir=/usr/lib \
-      --libexecdir=/usr/lib \
-      --with-headers=/usr/$_target/include \
-      --with-bugurl=https://bugs.archlinux.org/ \
-      --enable-add-ons \
-      --enable-obsolete-rpc \
-      --enable-kernel=2.6.32 \
-      --enable-bind-now \
-      --disable-profile \
-      --enable-stackguard-randomization \
-      --enable-lock-elision \
-      --enable-multi-arch \
-      --disable-werror
-
-  echo "build-programs=no" >> configparms
-  make
-}
-
-package() {
-  cd glibc-build
-
-  make install_root=$pkgdir/usr/$_target install
-
-  rm -rf $pkgdir/usr/$_target/{bin,sbin,etc,share,var}
-}

Copied: aarch64-linux-gnu-glibc/repos/community-any/PKGBUILD (from rev 451961, aarch64-linux-gnu-glibc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-18 01:05:42 UTC (rev 451962)
@@ -0,0 +1,73 @@
+# Maintainer: Anatol Pomozov
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_target=aarch64-linux-gnu
+pkgname=$_target-glibc
+pkgver=2.28
+pkgrel=2
+_commit=be176490b818b65b5162c332eb6b581690b16e5c
+pkgdesc="GNU C Library ARM64 target"
+arch=(any)
+url='https://www.gnu.org/software/libc/'
+license=('GPL' 'LGPL')
+depends=($_target-gcc $_target-linux-api-headers)
+options=(!buildflags !strip staticlibs)
+source=(https://ftp.gnu.org/gnu/libc/glibc-$pkgver.tar.xz{,.sig})
+sha1sums=('ccb5dc9e51a9884df8488f86982439d47b283b2a'
+          'SKIP')
+validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8)  # "Carlos O'Donell <carlos at systemhalted.org>"
+
+prepare() {
+  mkdir -p glibc-build
+}
+
+build() {
+  cd glibc-build
+
+  echo "slibdir=/usr/${_target}/lib" >> configparms
+  echo "rtlddir=/usr/lib" >> configparms
+  echo "sbindir=/usr/bin" >> configparms
+  echo "rootsbindir=/usr/bin" >> configparms
+
+  # remove hardening options for building libraries
+  export CFLAGS="-U_FORTIFY_SOURCE -mlittle-endian -O2"
+  export CPPFLAGS="-U_FORTIFY_SOURCE -O2"
+  unset LD_LIBRARY_PATH
+
+  export BUILD_CC=gcc
+  export CC=${_target}-gcc
+  export CXX=${_target}-g++
+  export AR=${_target}-ar
+  export RANLIB=${_target}-ranlib
+
+  ../glibc-$pkgver/configure \
+      --prefix=/usr \
+      --target=$_target \
+      --host=$_target \
+      --build=$CHOST \
+      --includedir=/usr/${_target}/include \
+      --libdir=/usr/${_target}/lib \
+      --libexecdir=/usr/${_target}/lib \
+      --with-headers=/usr/$_target/include \
+      --with-bugurl=https://bugs.archlinux.org/ \
+      --enable-add-ons \
+      --enable-obsolete-rpc \
+      --enable-kernel=2.6.32 \
+      --enable-bind-now \
+      --disable-profile \
+      --enable-stackguard-randomization \
+      --enable-lock-elision \
+      --enable-multi-arch \
+      --disable-werror
+
+  echo "build-programs=no" >> configparms
+  make
+}
+
+package() {
+  cd glibc-build
+
+  make install_root="$pkgdir" install
+
+  rm -r "$pkgdir"/{etc,usr/share,var}
+}


More information about the arch-commits mailing list