diff src/build-gcc.mk @ 5500:512e69a36d09

Use SSE2 instruction set for i686-w64 target (bug #58807). * src/build-gcc.mk: Set specs to use SSE/SSE2 instructions by default for i686-w64-mingw32 target (Windows 32bit). * src/native-gcc.mk: Set specs to use SSE/SSE2 instructions by default for i686-w64-mingw32 target (Windows 32bit).
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 21 Jul 2020 20:27:53 +0200
parents eca81b345edf
children 933ef4ecc7f4
line wrap: on
line diff
--- a/src/build-gcc.mk	Sun Jul 05 20:58:57 2020 +0200
+++ b/src/build-gcc.mk	Tue Jul 21 20:27:53 2020 +0200
@@ -36,7 +36,8 @@
     $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \
     --libdir='$(BUILD_TOOLS_PREFIX)/lib' \
     --with-native-system-header-dir='/include' \
-    --disable-sjlj-exceptions
+    --disable-sjlj-exceptions \
+    --with-specs='%{!mfpmath:-mfpmath=sse} %{!msse:%{!mno-sse:-msse}} %{!msse2:%{!mno-sse2:-msse2}}'
   else
     define $(PKG)_PRE_BUILD
       echo "Shortcuts"