# Copyright 1999-2013 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.35 2013/04/05 18:25:21 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+=( $(use_enable hardened stackguard-randomization) ) if has_version '