diff options
Diffstat (limited to 'src/gallium/drivers/swr/meson.build')
-rw-r--r-- | src/gallium/drivers/swr/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/meson.build b/src/gallium/drivers/swr/meson.build index 11ea7d3f43e..6b6ec3652ec 100644 --- a/src/gallium/drivers/swr/meson.build +++ b/src/gallium/drivers/swr/meson.build @@ -191,6 +191,10 @@ swr_cpp_args = [cpp_vis_args] if cpp.has_argument('-fno-strict-aliasing') swr_cpp_args += '-fno-strict-aliasing' endif +if cpp.has_argument('-Wno-aligned-new') + swr_cpp_args += '-Wno-aligned-new' +endif + swr_arch_libs = [] swr_defines = [] |