[PATCH modular 6/8] build.sh: honour $MAKEFLAGS value when using --cmd [mg]ake [...]
Gaetan Nadon
memsize at videotron.ca
Tue Jan 4 12:44:40 PST 2011
If the user has set make flags using MAKEFLAGS env var, they should
be used for all invocation of the make command.
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
build.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/build.sh b/build.sh
index 7c759c7..a532609 100755
--- a/build.sh
+++ b/build.sh
@@ -424,12 +424,12 @@ process() {
# A custom 'make' target list was supplied through --cmd option
if [ X"$MAKECMD" != X ]; then
- ${MAKE} $MAKECMD
+ ${MAKE} $MAKEFLAGS $MAKECMD
rtn=$?
cd $old_pwd
if [ $rtn -ne 0 ]; then
- failed "$MAKE $MAKECMD" $1 $2
+ failed "$MAKE $MAKEFLAGS $MAKECMD" $1 $2
return 1
fi
return 0
--
1.6.0.4
More information about the xorg-devel
mailing list