comparison 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
comparison
equal deleted inserted replaced
5499:be0a7ce498e6 5500:512e69a36d09
34 --enable-threads=posix 34 --enable-threads=posix
35 ifneq ($(TARGET),x86_64-w64-mingw32) 35 ifneq ($(TARGET),x86_64-w64-mingw32)
36 $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \ 36 $(PKG)_SYSDEP_CONFIGURE_OPTIONS += \
37 --libdir='$(BUILD_TOOLS_PREFIX)/lib' \ 37 --libdir='$(BUILD_TOOLS_PREFIX)/lib' \
38 --with-native-system-header-dir='/include' \ 38 --with-native-system-header-dir='/include' \
39 --disable-sjlj-exceptions 39 --disable-sjlj-exceptions \
40 --with-specs='%{!mfpmath:-mfpmath=sse} %{!msse:%{!mno-sse:-msse}} %{!msse2:%{!mno-sse2:-msse2}}'
40 else 41 else
41 define $(PKG)_PRE_BUILD 42 define $(PKG)_PRE_BUILD
42 echo "Shortcuts" 43 echo "Shortcuts"
43 # create shortcuts 44 # create shortcuts
44 if ! [ -L $(BUILD_TOOLS_PREFIX)/mingw ]; then \ 45 if ! [ -L $(BUILD_TOOLS_PREFIX)/mingw ]; then \