From: Trevor Woerner <[email protected]> When invoked with the -L option, build.sh needs the HOST_OS and HOST_CPU variables defined since they are necessary to determine which modules are to be built.
Signed-off-by: Trevor Woerner <[email protected]> --- build.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 20aee43..003b765 100755 --- a/build.sh +++ b/build.sh @@ -30,9 +30,6 @@ EOF } setup_buildenv() { - export HOST_OS=`uname -s` - export HOST_CPU=`uname -m` - export LIBDIR=${LIBDIR:="lib"} # Must create local aclocal dir or aclocal fails @@ -834,6 +831,9 @@ if [ -z "${PREFIX}" ] && [ -z "$LISTONLY" ]; then exit fi +export HOST_OS=`uname -s` +export HOST_CPU=`uname -m` + if [ -z "$LISTONLY" ]; then setup_buildenv echo "Building to run $HOST_OS / $HOST_CPU ($HOST)" -- 1.7.3.rc2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
