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
|
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} \
|
||||||
|
|
Loading…
Reference in a new issue