Add glibc configuration options
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user