summaryrefslogtreecommitdiff
path: root/repo/system/glibc.xibuild
diff options
context:
space:
mode:
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 () {