diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-22 09:39:43 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-22 09:56:22 +0000 |
commit | 7e95b2e8aabf9a925d4902623223649bbf4873c5 (patch) | |
tree | 8537be4bf9b656cbd2252c2093417a2806d10963 | |
parent | 44702b65724b4c64ed2c624704039e1bd27ac995 (diff) | |
download | eglibc2-7e95b2e8aabf9a925d4902623223649bbf4873c5.tar.gz |
Honour SYSROOT setting (temporarily hardcoded to PREFIX)
The plan for rebuilding the build-essential staging filler involves
putting the first rebuild into a temporary /tools sysroot. The stage 2
tools need to be configured to use this sysroot in various ways, which
Morph will handle by setting the SYSROOT variable.
-rwxr-xr-x | eglibc.morph | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eglibc.morph b/eglibc.morph index 4b7bcd219..6aecb814a 100755 --- a/eglibc.morph +++ b/eglibc.morph @@ -6,7 +6,7 @@ "mkdir o", "cd o && touch configure-flags", "cd o && if echo \"$TOOLCHAIN_TARGET\" | grep arm; then echo \"--without-fp\" > configure-flags; fi", - "cd o && CFLAGS=\"-O2 $CFLAGS\" ../libc/configure $(cat configure-flags) --prefix=\"$PREFIX\" --host=\"$TOOLCHAIN_TARGET\" --build=$(../libc/scripts/config.guess) --disable-profile --enable-add-ons --enable-kernel=2.6.25 --with-headers=\"$PREFIX/include\" --without-cvs --without-selinux libc_cv_c_cleanup=yes libc_cv_ctors_header=yes libc_cv_forced_unwind=yes libc_cv_ssp=no" + "SYSROOT=\"$PREFIX\"; cd o && CFLAGS=\"-O2 $CFLAGS\" ../libc/configure $(cat configure-flags) --prefix=\"$PREFIX\" --host=\"$TOOLCHAIN_TARGET\" --build=$(../libc/scripts/config.guess) --disable-profile --enable-add-ons --enable-kernel=2.6.25 --with-headers=\"$SYSROOT/include\" --without-cvs --without-selinux libc_cv_c_cleanup=yes libc_cv_ctors_header=yes libc_cv_forced_unwind=yes libc_cv_ssp=no" ], "build-commands": [ "cd o && make" |