From 281270cd2ad1aa60968275cf62a9cc1dd1ce56f2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 25 May 2021 21:03:10 +0200 Subject: [PATCH] meson.build: remove unused variables common_cflags, common_cxxflags --- meson.build | 10 ++-------- 1 file 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'