build: allow compiler in wflags.py to contain options

parent 0a445c83
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment