glibc: depend on kernel-libc-headers; disable SSP.
This commit is contained in:
parent
4a6404dc43
commit
9b7c935d8e
1 changed files with 4 additions and 0 deletions
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue