diff --git a/buildtools/builder.py b/buildtools/builder.py index cbc45d6b..7f839870 100644 --- a/buildtools/builder.py +++ b/buildtools/builder.py @@ -150,7 +150,9 @@ class Builder: # Concrete subclasses of abstract Builder interface class GNUMakeBuilder(Builder): - def __init__(self, commandName="make", formatName="GNUMake"): + def __init__(self, commandName=None, formatName="GNUMake"): + if commandName is None: + commandName = os.environ.get("MAKE", "make") Builder.__init__(self, commandName=commandName, formatName=formatName)