Mercurial > hg > aboriginal
changeset 1084:b52ba5df878d
Don't build anything statically in host-tools.sh, glibc is broken.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 16 May 2010 18:25:39 -0500 |
parents | cb4dbdb7f2cd |
children | 2e03f846b21e |
files | sources/functions.sh |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/functions.sh Sun May 16 02:26:03 2010 -0500 +++ b/sources/functions.sh Sun May 16 18:25:39 2010 -0500 @@ -80,7 +80,11 @@ build_section() { - is_in_list $1 $BUILD_STATIC && STATIC_FLAGS="--static" + # Don't build anything statically in host-tools, glibc is broken. + # See http://people.redhat.com/drepper/no_static_linking.html for + # insane rant from the glibc maintainer about why he doesn't care. + is_in_list $1 $BUILD_STATIC && [ ! -z "$ARCH" ] && STATIC_FLAGS="--static" + if [ -e "$SOURCES/sections/$1".build ] then setupfor "$1"