aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/compilers
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-08-12 00:14:51 +0300
committerpg <pg@yandex-team.com>2023-08-12 00:57:08 +0300
commit47902831db3ef5a0a043fd5a2795115fcfcbcf73 (patch)
tree88c5a187bfd337bcd08991e6804cc350046a451c /build/conf/compilers
parent70a711d3c34d65e0070b97eb1c65f106204916df (diff)
downloadydb-47902831db3ef5a0a043fd5a2795115fcfcbcf73.tar.gz
Diffstat (limited to 'build/conf/compilers')
-rw-r--r--build/conf/compilers/gnu_compiler.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf
index d6c8165949..700dc2807b 100644
--- a/build/conf/compilers/gnu_compiler.conf
+++ b/build/conf/compilers/gnu_compiler.conf
@@ -48,6 +48,10 @@ elsewhen ($PIE == "yes") {
LDFLAGS+=-fPIE -pie
}
+when ($CLANG16 == "yes") {
+ CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-unused-command-line-argument -Wno-unused-but-set-variable
+}
+
when ($ARCH_XTENSA == "yes") {
FSTACK=
}