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



commit d4f12a843a168a692ad75b5041cec35ae6fae26b
Author: Jehan <jehan girinstud io>
Date:   Wed Aug 31 15:31:00 2022 +0200

    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'?

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index f57dfb5a29..574a8a1c76 100644
--- a/meson.build
+++ b/meson.build
@@ -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'))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]