summaryrefslogtreecommitdiff
path: root/etc/defaults/CC/TARGETS.protobuf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/defaults/CC/TARGETS.protobuf')
-rw-r--r--etc/defaults/CC/TARGETS.protobuf19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/defaults/CC/TARGETS.protobuf b/etc/defaults/CC/TARGETS.protobuf
new file mode 100644
index 00000000..b808ea51
--- /dev/null
+++ b/etc/defaults/CC/TARGETS.protobuf
@@ -0,0 +1,19 @@
+{ "defaults":
+ { "type": ["CC", "defaults"]
+ , "CC": ["clang"]
+ , "CXX": ["clang++"]
+ , "CFLAGS": []
+ , "CXXFLAGS":
+ [ "-std=c++20"
+ , "-DHAVE_PTHREAD"
+ , "-DHAVE_ZLIB"
+ , "-Woverloaded-virtual"
+ , "-Wno-sign-compare"
+ , "-Wno-unused-function"
+ , "-Wno-write-strings"
+ , "-Wno-deprecated-declarations"
+ ]
+ , "AR": ["ar"]
+ , "PATH": ["/bin", "/sbin", "/usr/bin", "/usr/sbin"]
+ }
+}