diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-03 13:45:35 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-03-03 15:09:11 +0100 |
commit | a9383a9131c1e2ba2a55f9b44d5756d3322496f4 (patch) | |
tree | ec7eaae76d4a355932a58da5dc934a52c2a3a568 | |
parent | 25713852da6ec16e37dd8ad53639d9241bcb4ea0 (diff) | |
download | justbuild-a9383a9131c1e2ba2a55f9b44d5756d3322496f4.tar.gz |
External re2: Disable warnings
-rw-r--r-- | etc/defaults/CC/TARGETS.re2 | 17 | ||||
-rw-r--r-- | etc/repos.json | 8 |
2 files changed, 24 insertions, 1 deletions
diff --git a/etc/defaults/CC/TARGETS.re2 b/etc/defaults/CC/TARGETS.re2 new file mode 100644 index 00000000..aecce9e9 --- /dev/null +++ b/etc/defaults/CC/TARGETS.re2 @@ -0,0 +1,17 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["clang"] + , "CXX": ["clang++"] + , "CFLAGS": [] + , "CXXFLAGS": + [ "-std=c++11" + , "-pthread" + , "-Wall" + , "-Wextra" + , "-Wno-unused-parameter" + , "-Wno-missing-field-initializers" + ] + , "AR": ["ar"] + , "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"] + } +} diff --git a/etc/repos.json b/etc/repos.json index dcd0434b..f5b71582 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -48,6 +48,12 @@ , "rule_root": "rules" , "target_file_name": "TARGETS.absl" } + , "rules-re2": + { "repository": "rules" + , "target_root": "defaults" + , "rule_root": "rules" + , "target_file_name": "TARGETS.re2" + } , "import targets": {"repository": {"type": "file", "path": "etc/import"}} , "gsl-lite": { "repository": @@ -195,7 +201,7 @@ } , "target_root": "import targets" , "target_file_name": "TARGETS.re2" - , "bindings": {"rules": "rules"} + , "bindings": {"rules": "rules-re2"} } , "com_github_cares_cares": { "repository": |