aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-12-14 16:03:00 +0000
committerlloyd <[email protected]>2013-12-14 16:03:00 +0000
commit31064f20836265e792a5dc703b84219b5dd774ff (patch)
tree3ef0b40a2e8e3850dc1792c4884b8f465475c8fe /configure.py
parentba33619ef7b9fb1089132a0bfbabde7dc4b4e634 (diff)
Fix maintainer mode flags
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.py b/configure.py
index 03701dec9..f4374bf3f 100755
--- a/configure.py
+++ b/configure.py
@@ -1083,8 +1083,8 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo):
def warning_flags(normal_flags,
maintainer_flags,
maintainer_mode):
- if maintainer_mode:
- return maintainer_flags + normal_flags
+ if maintainer_mode and maintainer_flags != '':
+ return maintainer_flags + ' ' + normal_flags
else:
return normal_flags