diff --git a/core/glibc/PKGBUILD b/core/glibc/PKGBUILD index 615d68a70..e6e005b2f 100644 --- a/core/glibc/PKGBUILD +++ b/core/glibc/PKGBUILD @@ -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