summaryrefslogtreecommitdiff
path: root/pcr/riscv64-linux-gnu-glibc
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-21 10:33:50 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-21 10:33:50 +0100
commit45d4b89c80c03289d2f7709a45afd6338dd07675 (patch)
treef2888b5d24febcc39e899d857f9d2001ea862da4 /pcr/riscv64-linux-gnu-glibc
parentdb201b39f01c08092accb8191ef624911523328d (diff)
downloadabslibre-45d4b89c80c03289d2f7709a45afd6338dd07675.tar.gz
abslibre-45d4b89c80c03289d2f7709a45afd6338dd07675.tar.bz2
abslibre-45d4b89c80c03289d2f7709a45afd6338dd07675.zip
pcr/riscv64-*: updated gcc to newer snapshot, updated glibc to upstream
Diffstat (limited to 'pcr/riscv64-linux-gnu-glibc')
-rw-r--r--pcr/riscv64-linux-gnu-glibc/PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/pcr/riscv64-linux-gnu-glibc/PKGBUILD b/pcr/riscv64-linux-gnu-glibc/PKGBUILD
index 95b36be1c..5e412d21f 100644
--- a/pcr/riscv64-linux-gnu-glibc/PKGBUILD
+++ b/pcr/riscv64-linux-gnu-glibc/PKGBUILD
@@ -6,28 +6,22 @@
_target=riscv64-linux-gnu
pkgname=$_target-glibc
-_snapshot=20171231
-pkgver=2.26.v$_snapshot
+pkgver=2.27
pkgrel=1
+_commit=be176490b818b65b5162c332eb6b581690b16e5c
pkgdesc="GNU C Library riscv64 target"
arch=('x86_64')
-url='https://github.com/riscv/riscv-gnu-toolchain'
+url='http://www.gnu.org/software/libc/'
license=('GPL' 'LGPL')
depends=($_target-gcc $_target-linux-api-headers)
-makedepends=(git)
options=(!buildflags !strip staticlibs)
-source=("$_target::git+https://github.com/riscv/riscv-gnu-toolchain#tag=v$_snapshot")
-sha256sums=('SKIP')
+source=(http://ftp.gnu.org/gnu/libc/glibc-$pkgver.tar.xz{,.sig})
+sha1sums=('1f7a9c43026484943ef7cf6885f2176a2bc1e093'
+ 'SKIP')
+validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8) # "Carlos O'Donell <carlos@systemhalted.org>"
prepare() {
mkdir -p glibc-build
-
- cd "$srcdir/$_target"
-
- # fix submodule repo paths
- sed -i 's#\.\.#git://github.com/riscv#' .gitmodules
- # update submodule
- git submodule update --init riscv-glibc
}
build() {
@@ -46,18 +40,23 @@ build() {
export AR=${_target}-ar
export RANLIB=${_target}-ranlib
- ../$_target/riscv-glibc/configure \
+ ../glibc-$pkgver/configure \
--prefix=/usr \
--target=$_target \
--host=$_target \
+ --build=$CHOST \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
- --disable-werror \
- --enable-shared \
- --enable-obsolete-rpc \
--with-headers=/usr/$_target/include \
+ --with-bugurl=https://bugs.archlinux.org/ \
+ --enable-add-ons \
+ --enable-obsolete-rpc \
+ --enable-kernel=3.0.0 \
+ --enable-bind-now \
+ --disable-profile \
+ --enable-shared \
--disable-multilib \
- --enable-kernel=3.0.0
+ --disable-werror
make
}