# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/files/eblits/src_compile.eblit,v 1.28 2012/07/03 20:07:34 vapier Exp $ glibc_do_configure() { local myconf einfo "Configuring GLIBC for $1" # set addons pushd "${S}" > /dev/null local ADDONS=$(echo */configure | sed \ -e 's:/configure::g' \ -e 's:\(linuxthreads\|nptl\|rtkaio\|glibc-compat\)\( \|$\)::g' \ -e 's: \+$::' \ -e 's! !,!g' \ -e 's!^!,!' \ -e '/^,\*$/d') [[ -d ports ]] && ADDONS="${ADDONS},ports" popd > /dev/null myconf="${myconf} $(use_enable hardened stackguard-randomization)" if has_version '