mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/glibc to 2.35-5.1
This commit is contained in:
parent
7343534c5b
commit
ce02ed1133
1 changed files with 4 additions and 5 deletions
|
@ -17,7 +17,7 @@ noautobuild=1
|
|||
pkgname=glibc
|
||||
pkgver=2.35
|
||||
_commit=28ea43f8d64f0dd1f2de75525157730e1532e600
|
||||
pkgrel=5
|
||||
pkgrel=5.1
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL LGPL)
|
||||
|
@ -68,8 +68,8 @@ build() {
|
|||
cd "$srcdir/glibc-build"
|
||||
|
||||
# ALARM: Specify build host types
|
||||
[[ $CARCH == "armv7h" ]] && CONFIGFLAG="--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf"
|
||||
[[ $CARCH == "aarch64" ]] && CONFIGFLAG="--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu"
|
||||
[[ $CARCH == "armv7h" ]] && _configure_flags+=(--host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf)
|
||||
[[ $CARCH == "aarch64" ]] && _configure_flags+=(--host=aarch64-unknown-linux-gnu --build=aarch64-unknown-linux-gnu --enable-memory-tagging)
|
||||
|
||||
echo "slibdir=/usr/lib" >> configparms
|
||||
echo "rtlddir=/usr/lib" >> configparms
|
||||
|
@ -84,8 +84,7 @@ build() {
|
|||
"$srcdir/glibc/configure" \
|
||||
--libdir=/usr/lib \
|
||||
--libexecdir=/usr/lib \
|
||||
"${_configure_flags[@]}" \
|
||||
$CONFIGFLAG
|
||||
"${_configure_flags[@]}"
|
||||
|
||||
# build libraries with fortify disabled
|
||||
echo "build-programs=no" >> configparms
|
||||
|
|
Loading…
Reference in a new issue