summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-08 12:53:55 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-09 13:12:46 +0100
commit7b2df270b2f8d66c1cf3bad70660b1c0de34b71c (patch)
tree3fa5870153df9469869b69f88f7d3af25e51da37
parent163dcfa7175eff7561dc3c37f28c736cf36cac75 (diff)
downloadjustbuild-7b2df270b2f8d66c1cf3bad70660b1c0de34b71c.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--rules/CC/test/RULES1
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"}
]
}