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 | 7b2df270b2f8d66c1cf3bad70660b1c0de34b71c (patch) | |
tree | 3fa5870153df9469869b69f88f7d3af25e51da37 /rules | |
parent | 163dcfa7175eff7561dc3c37f28c736cf36cac75 (diff) | |
download | justbuild-7b2df270b2f8d66c1cf3bad70660b1c0de34b71c.tar.gz |
rules: Fix missing cflags for linking test binary
... which is required for cross-compilation, e.g., clang's
`-target` option.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/CC/test/RULES | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/CC/test/RULES b/rules/CC/test/RULES index 8082047e..0d7a9ba7 100644 --- a/rules/CC/test/RULES +++ b/rules/CC/test/RULES @@ -197,6 +197,7 @@ , "-o" , {"type": "var", "name": "binary name"} ] + , {"type": "var", "name": "CXXFLAGS"} , {"type": "var", "name": "link-args"} ] } |