glibc: depend on kernel-libc-headers; disable SSP.

This commit is contained in:
Juan RP 2014-05-19 10:08:42 +02:00
parent 4a6404dc43
commit 9b7c935d8e

View file

@ -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} \