r600: add -Wstrict-overflow=0 to meson to silence the warning
authorMarek Olšák <marek.olsak@amd.com>
Wed, 30 Jan 2019 17:49:30 +0000 (12:49 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 30 Jan 2019 17:49:45 +0000 (12:49 -0500)
same as radeonsi

src/gallium/drivers/r600/meson.build

index 4f10994d6bc08a578120c189b3ce185d87731454..099d0cd5ae91a73180044214b31bcaff9e1e2274 100644 (file)
@@ -121,7 +121,7 @@ endif
 libr600 = static_library(
   'r600',
   [files_r600, egd_tables_h],
-  c_args : [c_vis_args, r600_c_args],
+  c_args : [c_vis_args, r600_c_args, '-Wstrict-overflow=0'],
   cpp_args : [cpp_vis_args],
   include_directories : [
     inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common,