[cairo-commit] 2 commits - meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 6 10:59:32 UTC 2022


 meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ff9afb73751ccf9b1c13d78dad00b7a7dccc9b9
Merge: ff08edfcc c479479b6
Author: Tim-Philipp Müller <tim at centricular.com>
Date:   Wed Jul 6 10:59:30 2022 +0000

    Merge branch 'meson-list' into 'master'
    
    Meson: use arrays to provide multiple arguments
    
    See merge request cairo/cairo!339

commit c479479b69cf2d7d9c2fb2710430432e4d84ae91
Author: Luca Bacci <luca.bacci982 at gmail.com>
Date:   Wed Jul 6 12:05:00 2022 +0200

    Meson: use an array to provide multiple arguments

diff --git a/meson.build b/meson.build
index 1080c6614..130ca251f 100644
--- a/meson.build
+++ b/meson.build
@@ -69,7 +69,7 @@ if cc.get_id() != 'msvc'
   ]
 
   if get_option('optimization') in ['1', '2', '3']
-    cflags += '-Wp,-D_FORTIFY_SOURCE=2 -Wl,-lssp'
+    cflags += ['-Wp,-D_FORTIFY_SOURCE=2', '-Wl,-lssp']
   endif
 
   supported_cflags = cc.get_supported_arguments(cflags)


More information about the cairo-commit mailing list