summaryrefslogtreecommitdiffstats
path: root/build-aux/xdrgen
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/xdrgen')
-rwxr-xr-xbuild-aux/xdrgen3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-aux/xdrgen b/build-aux/xdrgen
index c2a7a781d58..0cefc9b4890 100755
--- a/build-aux/xdrgen
+++ b/build-aux/xdrgen
@@ -27,6 +27,9 @@ append_licence_header ()
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
+#else
+#pragma clang diagnostic ignored "-Wunused-variable"
+#pragma clang diagnostic ignored "-Wunused-value"
#endif
#endif
#endif