summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xnt/build/make.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/xnt/build/make.py b/xnt/build/make.py
index 30d96f1..018fc52 100644
--- a/xnt/build/make.py
+++ b/xnt/build/make.py
@@ -47,6 +47,8 @@ def nant(path="", target="", flags=None, pkeys=None, pvalues=None):
def __add_flags(cmd, flags):
"""Add flags to command and return new list"""
+ if not flags:
+ return cmd
command = list(cmd)
for flag in flags:
command.append(flag)