Commit 9d1043dcb5c698c5d9615b1b8d76a190f73d57bb

Ran Benita 2022-12-14T18:21:13

build: remove -fsanitize-undefined-trap-on-error Meson complains; it's probably not that important anymore when using the `-Db_sanitize` options. meson.build:36: WARNING: Consider using the built-in option for sanitizers instead of using "-fsanitize-undefined-trap-on-error". Signed-off-by: Ran Benita <ran@unusedvar.com>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/meson.build b/meson.build
index a834a7f..0a2720d 100644
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,6 @@ dir_libexec = get_option('prefix')/get_option('libexecdir')/'xkbcommon'
 # Compiler flags.
 cflags = [
     '-fno-strict-aliasing',
-    '-fsanitize-undefined-trap-on-error',
     '-Wno-unused-parameter',
     '-Wno-missing-field-initializers',
     '-Wpointer-arith',