aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-09-08 11:59:14 -0400
committerDavid Robillard <d@drobilla.net>2022-09-08 15:56:31 -0400
commite6fa96ad3732b49294621546e5dfefe98f53d5d9 (patch)
treea04f1dfd9889f84e32010684574733a13bbcaa78
parent4b661ad6f1607afc30df5461756df6940ebd524e (diff)
downloadlv2-e6fa96ad3732b49294621546e5dfefe98f53d5d9.tar.xz
Suppress Wstrict-overflow warnings on Fedora
-rw-r--r--plugins/eg-sampler.lv2/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/eg-sampler.lv2/meson.build b/plugins/eg-sampler.lv2/meson.build
index 6cac920..df10c76 100644
--- a/plugins/eg-sampler.lv2/meson.build
+++ b/plugins/eg-sampler.lv2/meson.build
@@ -52,11 +52,16 @@ if samplerate_dep.found() and sndfile_dep.found()
endif
endforeach
+ ui_suppressions = c_suppressions
+ if cc.get_id() == 'gcc'
+ ui_suppressions += ['-Wno-strict-overflow']
+ endif
+
if gtk2_dep.found()
shared_library(
'sampler_ui',
ui_sources,
- c_args: c_suppressions,
+ c_args: ui_suppressions,
dependencies: [lv2_dep, gtk2_dep],
gnu_symbol_visibility: 'hidden',
install: true,