Issue #8561: unrecognized command-line options '-mmx', '-sse'.

Fixes:

> gcc: error: unrecognized command-line options '-mmx'; did you mean '-mmmx'?
> gcc: error: unrecognized command-line options '-sse'; did you mean '-msse'?
This commit is contained in:
Jehan 2022-08-31 15:31:00 +02:00
parent 358ba0991f
commit d4f12a843a
1 changed files with 2 additions and 2 deletions

View File

@ -185,8 +185,8 @@ endif
# Note that Meson has a SIMD module which can also do this for us, but it uses
# its own #defines and we want to stay compatible with the autotools build
conf.set('USE_MMX', cc.has_argument('-mmx'))
conf.set('USE_SSE', cc.has_argument('-sse'))
conf.set('USE_MMX', cc.has_argument('-mmmx'))
conf.set('USE_SSE', cc.has_argument('-msse'))
conf.set10('COMPILE_SSE2_INTRINISICS', cc.has_argument('-msse2'))
conf.set10('COMPILE_SSE4_1_INTRINISICS', cc.has_argument('-msse4.1'))