From 9b7c935d8e2f09dbad1908328505a7a9efb0769e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 May 2014 10:08:42 +0200 Subject: [PATCH] glibc: depend on kernel-libc-headers; disable SSP. --- srcpkgs/glibc/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index 105af9adbd5..e22628f73fd 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -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} \