win32: export TARGET and ROOT_DIR in env.sh

So children of the shell sourcing it can use them (eg. buildbot slaves)
This commit is contained in:
Damien Lespiau 2010-12-02 15:46:40 +00:00
parent c1878316e0
commit e0ce4cee8c

View File

@ -295,8 +295,8 @@ add_env CFLAGS "-I$ROOT_DIR/include -mno-cygwin -mms-bitfields -march=i686 \${CF
add_env CXXFLAGS "-I$ROOT_DIR/include -mno-cygwin -mms-bitfields -march=i686 \${CFLAGS:-"-g"}"
cat >> "$env_file" <<EOF
ROOT_DIR="$ROOT_DIR";
TARGET="$TARGET";
export ROOT_DIR="$ROOT_DIR";
export TARGET="$TARGET";
function do_autogen()
{