summaryrefslogtreecommitdiff
path: root/repo/system/glibc.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/glibc.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/glibc.xibuild')
-rw-r--r--repo/system/glibc.xibuild10
1 files changed, 7 insertions, 3 deletions
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 () {