commit | 7ac132f69bc4265f1f86b2b201bacee446c08ca7 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Tue Aug 05 12:08:55 2014 +0200 |
committer | David 'Digit' Turner <digit@google.com> | Tue Aug 05 12:08:55 2014 +0200 |
tree | d7e911d6cea9743051a5f89c54729bb3e364261e | |
parent | 5d67cd674600d2479f9ddfbd337bf957db6a9a0a [diff] |
rebuild.sh: Fix Linux build. The previous patch broke the Linux build. The main reason was that the definition of GLIB_CFLAGS/GLIB_LIBS which were exported when building the linux-x86 binaries, were later picked by the linux-x86_64 build incorrectly. The fix ensures that the environment variables are undefined. Also save the environment to $BUILD_DIR/environment.txt to better diagnose problems in the future.