diff options
author | Kenny Levinsen <kl@kl.wtf> | 2022-03-03 17:52:26 +0100 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2022-03-03 17:52:26 +0100 |
commit | ce6a6b7d2eb84fc2eb72ef97f7102012668b17e4 (patch) | |
tree | 01a8320d9ded9c2c422bd9744e10639a7caf3c94 | |
parent | 8dc6a50d88dcabda3f35135eacf075d5f4a18281 (diff) | |
download | seatd-ce6a6b7d2eb84fc2eb72ef97f7102012668b17e4.tar.xz |
meson: Fix meson warnings
-rw-r--r-- | meson.build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 1070b55..9022dcd 100644 --- a/meson.build +++ b/meson.build @@ -51,6 +51,12 @@ add_project_arguments(cc.get_supported_arguments( '-Wno-unknown-warning-option', '-Wno-unused-command-line-argument', '-Wvla', + ]), + language: 'c', +) + +add_project_arguments(cc.get_supported_link_arguments( + [ '-Wl,--exclude-libs=ALL', ]), language: 'c', @@ -66,7 +72,7 @@ endif # Hacks source_root = meson.current_source_dir().split('/') -build_root = meson.build_root().split('/') +build_root = meson.global_build_root().split('/') relative_dir_parts = [] i = 0 in_prefix = true |