Mercurial > hg > aboriginal
changeset 1126:08a3feee2c02
Older versions of binutils would build break if you _didn't_ build them out of tree (and in the case of 2.14, if you didn't build them in a work directory in the same directory as the binutils source). Not relevant to 2.17, but doesn't hurt anything, so...
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 19 Jun 2010 16:39:16 -0500 |
parents | f44ca6ebdab7 |
children | 1f51b4a0517b |
files | sources/sections/binutils.build |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/sections/binutils.build Sat Jun 19 16:37:47 2010 -0500 +++ b/sources/sections/binutils.build Sat Jun 19 16:39:16 2010 -0500 @@ -9,6 +9,9 @@ [ $? -ne 0 ] && dienow } +mkdir ../build-binutils && +cd ../build-binutils || dienow + if [ -z "$HOST_ARCH" ] then # Create a simple cross compiler, from this host to target $ARCH. @@ -38,4 +41,6 @@ # Fix up install mkdir -p "$STAGE_DIR/include" && -cp "$CURSRC/include/libiberty.h" "$STAGE_DIR/include" +cp "$CURSRC/include/libiberty.h" "$STAGE_DIR/include" && +cd .. && +rm -rf build-binutils