# HG changeset patch # User Mychaela Falconia # Date 1540858346 0 # Node ID 2beb5bae0796d0191a63d83d8dde4bd0b2824b79 # Parent 19cabe7c8e08b3370435b787a4262d236b418ee6 toolchain/build+install.sh: fixed ancient bug wherein the path for newlib headers passed to gcc's configure was off by one directory level. The bug was reported by Das Signal. diff -r 19cabe7c8e08 -r 2beb5bae0796 toolchain/build+install.sh --- a/toolchain/build+install.sh Sun Oct 28 23:20:00 2018 +0000 +++ b/toolchain/build+install.sh Tue Oct 30 00:12:26 2018 +0000 @@ -29,6 +29,8 @@ set -ex +BASEDIR=`pwd` + target_args="--target=arm-elf" # binutils come first @@ -64,7 +66,7 @@ --enable-interwork --enable-multilib \ --with-cpu=arm7tdmi --with-float=soft \ --enable-languages=c --with-newlib \ - --with-headers=`pwd`/newlib-${newlib_version}/newlib/libc/include \ + --with-headers=$BASEDIR/newlib-${newlib_version}/newlib/libc/include \ --with-system-zlib --disable-shared \ --disable-nls make all-gcc