summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-07-19 20:47:17 +0200
committerMax Kellermann <max@musicpd.org>2017-07-19 20:53:52 +0200
commit07b06d76be716fa82f18c7949c00f92208962d6a (patch)
tree128ed7f50168abb20c22bf99a2022dd99e340db1 /win32
parent856fe2da1571c7286b36065d4b846a90232f31cb (diff)
{android,win32}/build.py: concatenate variables from the command line
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/build.py b/win32/build.py
index 1a08ba97f..037d8088e 100755
--- a/win32/build.py
+++ b/win32/build.py
@@ -112,5 +112,9 @@ configure = [
] + configure_args
+from build.cmdline import concatenate_cmdline_variables
+configure = concatenate_cmdline_variables(configure,
+ set(('CFLAGS', 'CXXFLAGS', 'CPPFLAGS', 'LDFLAGS', 'LIBS')))
+
subprocess.check_call(configure, env=toolchain.env)
subprocess.check_call(['/usr/bin/make', '--quiet', '-j12'], env=toolchain.env)