From: Trevor Woerner <[email protected]> When invoked with the -L option, make sure the HOST_OS and HOST_CPU are defined since they are needed to determine which modules would 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 e766fa5..ef45ed7 100755 --- a/build.sh +++ b/build.sh @@ -30,9 +30,6 @@ EOF } setup_buildenv() { - export HOST_OS=`uname -s` - export HOST_CPU=`uname -m` - if test x$LIBDIR = x; then export LIBDIR=lib fi @@ -854,6 +851,9 @@ if test x"${PREFIX}" = x && test -z "$LISTONLY"; then exit 1 fi +export HOST_OS=`uname -s` +export HOST_CPU=`uname -m` + if test -z "$LISTONLY"; then setup_buildenv echo "Building to run $HOST_OS / $HOST_CPU ($HOST)" -- 1.7.1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
