commit | e8c4f5431620a6ec859c4a0e80cba68531d58c1c | [log] [tgz] |
---|---|---|
author | Antony Lee <anntzer.lee@gmail.com> | Wed Jan 20 00:20:30 2021 +0100 |
committer | GitHub <noreply@github.com> | Tue Jan 19 18:20:30 2021 -0500 |
tree | 6caa99ebc1fd93639e5853ffe456aebe6ae96936 | |
parent | 48534089f7f1b0229bc7ae2e4d0f21dc9ad169b5 [diff] |
fix: prepend Pybind11Extension flags rather than appending them. (#2808) This allows users to set e.g. `extra_compile_args=["-g"]` (temporarily, for debugging purposes) and not have that get overridden by Pybind11Extension's default `-g0`. In order to minimize "order inversion" (not that it really matters, though) I chose to collect all flags and add them at once (hence the dropping of `*args`). I also dropped flag deduplication, which seems unneeded.