Add glibc configuration options

This commit is contained in:
2025-07-07 21:54:15 +03:00
parent aefb0fd763
commit 52b8bd9c59
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: glibc
description: The GNU C Library
version: 2.41
revision: 5
revision: 6
url: https://www.gnu.org/software/libc/
license: GPL2-or-later,LGPL2.1-or-later,BSD-3-Clause
architecture: any
+7 -1
View File
@@ -21,13 +21,19 @@ build() {
# Install system binaries to /usr/sbin
echo "rootsbindir=/usr/sbin" > configparms
# _FORTIFY_SOURCE=3 can result in testsuite failures. It is instead enabled through --enable-fortify-source
CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=3/}
../configure --prefix=/usr \
--with-headers=/usr/include \
--enable-bind-now \
--enable-fortify-source \
--enable-kernel=5.4 \
--enable-cet \
--enable-stack-protector=strong \
--disable-werror \
--disable-nscd \
--disable-profile \
--disable-werror \
libc_cv_slibdir=/usr/lib
make