Merge branch 'stack-realign' into 'master'

build: Do not use add_global_flags()

See merge request GNOME/gtk!958
This commit is contained in:
Emmanuele Bassi 2019-06-24 14:22:18 +00:00
commit 6e65c16b60

View File

@ -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