mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/glibc to 2.39-3
This commit is contained in:
parent
f71cd9ea05
commit
3d86244b79
3 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = glibc
|
||||
pkgver = 2.39
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = https://www.gnu.org/software/libc
|
||||
arch = x86_64
|
||||
license = GPL-2.0-or-later
|
||||
|
@ -39,6 +39,7 @@ pkgname = glibc
|
|||
|
||||
pkgname = lib32-glibc
|
||||
pkgdesc = GNU C Library (32-bit)
|
||||
install = lib32-glibc.install
|
||||
depends = glibc=2.39
|
||||
options = staticlibs
|
||||
options = !lto
|
||||
|
|
|
@ -18,7 +18,7 @@ pkgbase=glibc
|
|||
pkgname=(glibc glibc-locales)
|
||||
pkgver=2.39
|
||||
_commit=31da30f23cddd36db29d5b6a1c7619361b271fb4
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL-2.0-or-later LGPL-2.1-or-later)
|
||||
|
@ -77,7 +77,7 @@ build() {
|
|||
# Credits @allanmcrae
|
||||
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
|
||||
# remove fortify for building libraries
|
||||
# CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}
|
||||
CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
|
||||
|
||||
"${srcdir}"/glibc/configure \
|
||||
--libdir=/usr/lib \
|
||||
|
@ -145,7 +145,7 @@ package_glibc() {
|
|||
|
||||
cd glibc
|
||||
|
||||
install -dm755 "${pkgdir}"/usr/lib/{locale,systemd/system,tmpfiles.d}
|
||||
install -dm755 "${pkgdir}"/usr/lib/locale
|
||||
|
||||
install -m644 posix/gai.conf "${pkgdir}"/etc/gai.conf
|
||||
|
||||
|
|
|
@ -2,4 +2,6 @@ post_upgrade() {
|
|||
locale-gen
|
||||
|
||||
ldconfig -r .
|
||||
|
||||
iconvconfig
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue