aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
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