diff options
author | Alberto Sartori <alberto.sartori@huawei.com> | 2023-08-04 12:49:12 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-08-08 12:40:22 +0200 |
commit | d9d4b607ab30186a424480e3e274cb439983561f (patch) | |
tree | a0294e999be98913f8742a9e84856f77f47eefdc | |
parent | 2180d357614e4a8bccffec9d8501f7e9659ce24e (diff) | |
download | justbuild-d9d4b607ab30186a424480e3e274cb439983561f.tar.gz |
grpc and protobuf: use c++17
Due to a possible clang issue, protobuf v23.4 fails on debian-12
built with c++20. As such, protobuf and its consumer grpc have
been set to build with c++17 until this is resolved upstream.
Co-authored: Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com>
-rw-r--r-- | etc/defaults/CC/TARGETS.grpc | 2 | ||||
-rw-r--r-- | etc/defaults/CC/TARGETS.protobuf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/CC/TARGETS.grpc b/etc/defaults/CC/TARGETS.grpc index b562de40..fbafa136 100644 --- a/etc/defaults/CC/TARGETS.grpc +++ b/etc/defaults/CC/TARGETS.grpc @@ -97,7 +97,7 @@ , "body": { "type": "++" , "$1": - [ ["-std=c++20"] + [ ["-std=c++17"] , { "type": "case" , "expr": {"type": "var", "name": "COMPILER_FAMILY"} , "case": {"msvc": []} diff --git a/etc/defaults/CC/TARGETS.protobuf b/etc/defaults/CC/TARGETS.protobuf index 2bde69ea..f2ae56d6 100644 --- a/etc/defaults/CC/TARGETS.protobuf +++ b/etc/defaults/CC/TARGETS.protobuf @@ -13,7 +13,7 @@ , "body": { "type": "++" , "$1": - [ ["-std=c++20", "-DHAVE_PTHREAD=1", "-DHAVE_ZLIB=1"] + [ ["-std=c++17", "-DHAVE_PTHREAD=1", "-DHAVE_ZLIB=1"] , { "type": "case" , "expr": {"type": "var", "name": "COMPILER_FAMILY"} , "case": |