[gtk/stack-realign] build: Do not use add_global_flags()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/stack-realign] build: Do not use add_global_flags()
- Date: Mon, 24 Jun 2019 14:01:29 +0000 (UTC)
commit 23e4d05383805a679ba8fb440612849d5d0de5c1
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jun 24 15:00:21 2019 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]