From 23e4d05383805a679ba8fb440612849d5d0de5c1 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 24 Jun 2019 15:00:21 +0100 Subject: [PATCH] build: Do not use add_global_flags() It's almost always not what you want. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 2de01fac9c..716298a7d9 100644 --- a/meson.build +++ b/meson.build @@ -694,7 +694,7 @@ if graphene_has_sse2 or graphene_has_gcc message('Need aligned memory due to the use of SSE2 or GCC vector instructions') if os_win32 and cc.get_id() == 'gcc' - add_global_arguments(['-mstackrealign'], language: 'c') + add_project_arguments(['-mstackrealign'], language: 'c') endif endif