diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-08 12:53:55 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-09 13:12:46 +0100 |
commit | 18d2c74493d270d896a81e8593acdbee8b295408 (patch) | |
tree | b0f7159659083b4a4f0e785ad4a21e05a400246e | |
parent | 5c517c8cf9a28942394a29d95a31a1cde412b26d (diff) | |
download | rules-cc-18d2c74493d270d896a81e8593acdbee8b295408.tar.gz |
rules: Fix missing cflags for linking test binary
... which is required for cross-compilation, e.g., clang's
`-target` option.
-rw-r--r-- | CC/test/RULES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CC/test/RULES b/CC/test/RULES index 8082047..0d7a9ba 100644 --- a/CC/test/RULES +++ b/CC/test/RULES @@ -197,6 +197,7 @@ , "-o" , {"type": "var", "name": "binary name"} ] + , {"type": "var", "name": "CXXFLAGS"} , {"type": "var", "name": "link-args"} ] } |