summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-08-29 08:54:40 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2024-08-29 09:31:54 +0300
commite25d23aaac77f3793207aa0baf59ae64ea5eba41 (patch)
tree5554fa7677f04a256ad198453647a978d8196a3d /indra/newview
parent81569177edc411d5bebc04905069b6b8440591c4 (diff)
#2059 Linux build fix
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index eaf54356a2..cd93df71c7 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -121,7 +121,7 @@
#define A_GCC 1
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-variable"
-#if LL_LINUX
+#if LL_LINUX && defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wrestrict"
#endif
#endif