changeset 4484:22b0a9e8f7cc

ToolsBuild: include %(makeflags).
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 24 Oct 2008 16:42:24 +0200
parents dfcc2b3540f9
children efe5e736d7ae
files gub/toolsbuild.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gub/toolsbuild.py	Fri Oct 24 16:42:00 2008 +0200
+++ b/gub/toolsbuild.py	Fri Oct 24 16:42:24 2008 +0200
@@ -12,7 +12,7 @@
 
     ## ugh: prefix= will trigger libtool relinks.
     def install_command (self):
-        return '''make DESTDIR=%(install_root)s install'''
+        return '''make %(makeflags)s DESTDIR=%(install_root)s install'''
 
     def install (self):
         build.UnixBuild.install (self)
@@ -33,7 +33,7 @@
         self.map_locate (wrap, '%(install_root)s/%(tools_prefix)s/bin', '*')
 
     def compile_command (self):
-        return self.native_compile_command ()
+        return self.native_compile_command () + ' %(makeflags)s'
 
     ## we need to tar up %(install_root)/%(prefix)
     def packaging_suffix_dir (self):