[PATCH build] Bug: -L needs HOST_OS and HOST_CPU.
Trevor Woerner
twoerner at gmail.com
Fri Sep 10 23:34:05 PDT 2010
From: Trevor Woerner <twoerner at gmail.com>
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 <twoerner at gmail.com>
---
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
More information about the xorg-devel
mailing list