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
hostmakedepends="bison perl"
fi
makedepends="kernel-libc-headers"
do_configure() {
mkdir build
@ -65,6 +66,9 @@ do_configure() {
configure_args+=" --with-headers=${XBPS_MASTERDIR}/usr/include"
fi
# Disable SSP
export CFLAGS="${CFLAGS/-fstack-protector-strong/}"
SHELL=/bin/bash ../configure ${configure_args} \
--bindir=/usr/bin --sbindir=/usr/sbin \
--libdir=${_libdir} --libexecdir=${_libdir} \