aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-18 17:47:54 -0400
committerMarek Olšák <[email protected]>2018-07-18 17:48:48 -0400
commitfb049742d640aef3aa585d9f51cc82914d9e9835 (patch)
tree16ca972fa2df4070363def9897e16d5a6c304929 /src/gallium/drivers/r600
parentd3d9513556068093b902bff3bdd55eb0e4bccfe2 (diff)
r600: silence the signed overflow warning like radeonsi
r600_gpu_load.c: In function ‘r600_gpu_load_thread’: ../../../../src/util/os_time.h:82:7: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] if (start <= end)
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r--src/gallium/drivers/r600/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index bf45fbf7b20..1138de985dd 100644
--- a/src/gallium/drivers/r600/Makefile.am
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -10,7 +10,7 @@ AM_CFLAGS = \
$(GALLIUM_DRIVER_CFLAGS) \
$(RADEON_CFLAGS) \
$(LIBELF_CFLAGS) \
- -I$(top_srcdir)/src/amd/common
+ -I$(top_srcdir)/src/amd/common -Wstrict-overflow=0
AM_CXXFLAGS = \
$(GALLIUM_DRIVER_CXXFLAGS) \