meson.build: gcc error: unrecognized command-line options '-mmx', '-sse'
I was confused that gimp-2.99.12 on configuration states that my CPU doesn't support MMX and SSE.
Looking through meson-log.txt I saw related compiler errors:
gcc: error: unrecognized command-line options '-mmx'; did you mean '-mmmx'?
gcc: error: unrecognized command-line options '-sse'; did you mean '-msse'?
It's seems that meson.build (https://gitlab.gnome.org/GNOME/gimp/-/blob/master/meson.build#L188-189) has typo, isn't it? Is there should be '-mmmx' and '-msse'? I.e.:
conf.set('USE_MMX', cc.has_argument('-mmmx'))
conf.set('USE_SSE', cc.has_argument('-msse'))
I localy made this changes and meson configuration successfully recognize that CPU and compiler support MMX and SSE.