glibc: depend on kernel-libc-headers; disable SSP.
This commit is contained in:
@@ -30,6 +30,7 @@ force_debug_pkgs=yes
|
|||||||
if [ "$CHROOT_READY" ]; then
|
if [ "$CHROOT_READY" ]; then
|
||||||
hostmakedepends="bison perl"
|
hostmakedepends="bison perl"
|
||||||
fi
|
fi
|
||||||
|
makedepends="kernel-libc-headers"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
mkdir build
|
mkdir build
|
||||||
@@ -65,6 +66,9 @@ do_configure() {
|
|||||||
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"
|
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Disable SSP
|
||||||
|
export CFLAGS="${CFLAGS/-fstack-protector-strong/}"
|
||||||
|
|
||||||
SHELL=/bin/bash ../configure ${configure_args} \
|
SHELL=/bin/bash ../configure ${configure_args} \
|
||||||
--bindir=/usr/bin --sbindir=/usr/sbin \
|
--bindir=/usr/bin --sbindir=/usr/sbin \
|
||||||
--libdir=${_libdir} --libexecdir=${_libdir} \
|
--libdir=${_libdir} --libexecdir=${_libdir} \
|
||||||
|
|||||||
Reference in New Issue
Block a user