build: Do not use add_global_flags()

It's almost always not what you want.
This commit is contained in:
Emmanuele Bassi 2019-06-24 15:00:21 +01:00
parent 489e9e0934
commit 23e4d05383

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