Add glibc configuration options
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: glibc
|
name: glibc
|
||||||
description: The GNU C Library
|
description: The GNU C Library
|
||||||
version: 2.41
|
version: 2.41
|
||||||
revision: 5
|
revision: 6
|
||||||
url: https://www.gnu.org/software/libc/
|
url: https://www.gnu.org/software/libc/
|
||||||
license: GPL2-or-later,LGPL2.1-or-later,BSD-3-Clause
|
license: GPL2-or-later,LGPL2.1-or-later,BSD-3-Clause
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -21,13 +21,19 @@ build() {
|
|||||||
# Install system binaries to /usr/sbin
|
# Install system binaries to /usr/sbin
|
||||||
echo "rootsbindir=/usr/sbin" > configparms
|
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 \
|
../configure --prefix=/usr \
|
||||||
--with-headers=/usr/include \
|
--with-headers=/usr/include \
|
||||||
|
--enable-bind-now \
|
||||||
|
--enable-fortify-source \
|
||||||
--enable-kernel=5.4 \
|
--enable-kernel=5.4 \
|
||||||
--enable-cet \
|
--enable-cet \
|
||||||
--enable-stack-protector=strong \
|
--enable-stack-protector=strong \
|
||||||
--disable-werror \
|
|
||||||
--disable-nscd \
|
--disable-nscd \
|
||||||
|
--disable-profile \
|
||||||
|
--disable-werror \
|
||||||
libc_cv_slibdir=/usr/lib
|
libc_cv_slibdir=/usr/lib
|
||||||
make
|
make
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user