From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/glibc.xibuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'repo/system/glibc.xibuild') diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild index 557a533..50e5ec9 100644 --- a/repo/system/glibc.xibuild +++ b/repo/system/glibc.xibuild @@ -6,7 +6,7 @@ PKG_VER=2.34 SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-$PKG_VER.tar.xz DESC="The main gnu C library providing basic routines and procedures" -build () { +patch () { # patches as recommended by lfs sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c @@ -14,6 +14,9 @@ build () { patch -Np1 -i glibc-$PKG_VER-fhs-1.patch +} + +build () { mkdir -v build cd build @@ -28,10 +31,11 @@ build () { libc_cv_slibdir=/usr/lib make +} +check () { # some check failures are 'expected' - #make check || true - + make check || true } package () { -- cgit v1.2.1