This is an automated email from the git hooks/post-receive script.

git pushed a commit to reference refs/pull/47/head
in repository efl.

View the commit online.

commit 0aaea4b4ff6edf81e849d24c3ac82f5d4c2d0531
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Fri Dec 22 09:31:37 2023 +0500

    meson: use get_supported_arguments instead of manual loop
---
 meson.build | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meson.build b/meson.build
index c6aa47c774..5bc9f2c66a 100644
--- a/meson.build
+++ b/meson.build
@@ -83,16 +83,10 @@ dev_cflags_try = [
   '-Wno-missing-field-initializers',
 ]
 
-foreach cf: dev_cflags_try
-  if cc.has_argument(cf)
-    dev_cflags += cf
-  endif
-endforeach
-
+dev_cflags = cc.get_supported_arguments(dev_cflags_try)
 add_project_arguments(dev_cflags, language: 'c')
 add_project_arguments(dev_cflags, language: 'cpp')
 
-
 langs = ['c', 'objc', 'cpp']
 add_project_arguments('-DHAVE_CONFIG_H=1', language: langs)
 add_project_arguments('-D_GNU_SOURCE=1', language: langs)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to