Mailing List Archive

[master] 1a81180e5 build: allow compiler in wflags.py to contain options
commit 1a81180e5cabedd1ed1b06efa7c5778144d5d264
Author: Nils Goroll <nils.goroll@uplex.de>
Date: Fri Jun 11 09:42:18 2021 +0200

build: allow compiler in wflags.py to contain options

diff --git a/wflags.py b/wflags.py
index 7cfffea57..ce32037c4 100644
--- a/wflags.py
+++ b/wflags.py
@@ -83,7 +83,8 @@ UNDESIRABLE_WFLAGS = [.


def cc(compiler, opt, obj, src):
- a = [compiler, "-c"]
+ a = compiler.split()
+ a += ["-c"]
if opt is not None:
a += opt.split()
a += ["-o", obj, src]
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit