Skip to content
Snippets Groups Projects
Commit 8992d5b4 authored by Mathieu Duponchelle's avatar Mathieu Duponchelle :frog:
Browse files

meson: finish porting over mmx and ssse2 flags for sun and msvc

Those flags are set by the configure.ac script
parent 364760cd
No related branches found
No related tags found
No related merge requests found
......@@ -86,7 +86,12 @@ endif
use_mmx = get_option('mmx')
have_mmx = false
mmx_flags = []
if cc.get_id() != 'msvc'
if cc.get_id() == 'msvc'
mmx_flags = ['/w14710', '/w14714', '/wd4244']
elif cc.get_id() == 'sun'
mmx_flags = ['-xarch=sse']
else
mmx_flags = ['-mmmx', '-Winline']
endif
if not use_mmx.disabled()
......@@ -143,7 +148,9 @@ endif
use_sse2 = get_option('sse2')
have_sse2 = false
sse2_flags = []
if cc.get_id() != 'msvc'
if cc.get_id() == 'sun'
sse2_flags = ['-xarch=sse2']
elif cc.get_id() != 'msvc'
sse2_flags = ['-msse2', '-Winline']
endif
if not use_sse2.disabled()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment