summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-05-25 21:03:10 +0200
committerMax Kellermann <max@musicpd.org>2021-05-25 21:07:05 +0200
commit281270cd2ad1aa60968275cf62a9cc1dd1ce56f2 (patch)
tree4278ea19498d8e472920d15a422ab4eefef69560
parent02502514f68197925ac155ff62b59b00b18dd450 (diff)
meson.build: remove unused variables common_cflags, common_cxxflags
-rw-r--r--meson.build10
1 files changed, 2 insertions, 8 deletions
diff --git a/meson.build b/meson.build
index b9b77ce76..526980bdc 100644
--- a/meson.build
+++ b/meson.build
@@ -42,12 +42,6 @@ common_cppflags = [
'-D_GNU_SOURCE',
]
-common_cflags = [
-]
-
-common_cxxflags = [
-]
-
test_common_flags = [
'-Wvla',
'-Wdouble-promotion',
@@ -120,8 +114,8 @@ if get_option('fuzzer')
add_global_link_arguments(fuzzer_flags, language: 'cpp')
endif
-add_global_arguments(common_cxxflags + compiler.get_supported_arguments(test_cxxflags), language: 'cpp')
-add_global_arguments(common_cflags + c_compiler.get_supported_arguments(test_cflags), language: 'c')
+add_global_arguments(compiler.get_supported_arguments(test_cxxflags), language: 'cpp')
+add_global_arguments(c_compiler.get_supported_arguments(test_cflags), language: 'c')
add_global_link_arguments(compiler.get_supported_link_arguments(test_ldflags), language: 'cpp')
is_linux = host_machine.system() == 'linux'