Build and install clib2. No gcc support yet.

This commit is contained in:
Krystian Bacławski
2016-04-17 17:48:02 +02:00
parent fd01566714
commit 85b84d3ea4
2 changed files with 17 additions and 1 deletions
+3 -1
View File
@@ -445,13 +445,15 @@ def configure(name, *confopts, **kwargs):
@recipe('make', 2)
def make(name, target=None, **makevars):
def make(name, target=None, makefile=None, **makevars):
info('running make "%s"', target)
with cwd(path.join('{build}', name)):
args = ['%s=%s' % item for item in makevars.items()]
if target is not None:
args = [target] + args
if makefile is not None:
args = ['-f', makefile] + args
execute('make', *args)