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:
parent
c1878316e0
commit
e0ce4cee8c
@ -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"}"
|
add_env CXXFLAGS "-I$ROOT_DIR/include -mno-cygwin -mms-bitfields -march=i686 \${CFLAGS:-"-g"}"
|
||||||
|
|
||||||
cat >> "$env_file" <<EOF
|
cat >> "$env_file" <<EOF
|
||||||
ROOT_DIR="$ROOT_DIR";
|
export ROOT_DIR="$ROOT_DIR";
|
||||||
TARGET="$TARGET";
|
export TARGET="$TARGET";
|
||||||
|
|
||||||
function do_autogen()
|
function do_autogen()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user