Merge pull request #3234 from lazka/march-no-ssse3

makepkg: disable SSSE3 by default
This commit is contained in:
Christoph Reiter 2022-10-17 00:04:50 +02:00 committed by GitHub
commit 8dc5f68fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@
pkgname=pacman
pkgver=6.0.1
pkgrel=19
pkgrel=20
pkgdesc="A library-based package manager with dependency support (MSYS2 port)"
arch=('i686' 'x86_64')
url="https://www.archlinux.org/pacman/"
@ -70,7 +70,7 @@ validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD' # Allan McRae <allan@a
sha256sums=('SKIP'
'26d141ead0b586e29ab6c49ffa45cf60eb2689f53f8e90c885ccd6d117e9ab67'
'c12da01ede663a4924d0817a0d1bd6082b1380383cfb74cc1cea08f9d73e4902'
'bf9d1e0133b023fc28be291a1c5520c50cb0064cabc18d6ee95db7710873de7c'
'41ab08fad3c24c4a426010f8634cdf2bca2cec8d7b3ef6fadf2d4793c6c91f0b'
'98198e1f0f252eae0560d271bee4b9149e127399dd0d3fd5d8d24579d9e0550f'
'04ac67a8f458a9daea532f87cedbab76f028ccf437069e3d24a583457603e61d'
'6904ea154e451115c14246ded57737a5ab6c1151d1ac818c37dc849b70a5275f'

View File

@ -42,8 +42,8 @@ if [[ "$MSYSTEM" == "MINGW64" ]]; then
CC="gcc"
CXX="g++"
CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
LDFLAGS="-pipe"
elif [[ "$MSYSTEM" == "MINGW32" ]]; then
CARCH="i686"
@ -66,8 +66,8 @@ elif [[ "$MSYSTEM" == "CLANG64" ]]; then
CC="clang"
CXX="clang++"
CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
LDFLAGS="-pipe"
elif [[ "$MSYSTEM" == "CLANG32" ]]; then
CARCH="i686"
@ -102,8 +102,8 @@ elif [[ "$MSYSTEM" == "UCRT64" ]]; then
CC="gcc"
CXX="g++"
CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
CXXFLAGS="-march=core2 -mno-ssse3 -mtune=generic -O2 -pipe"
LDFLAGS="-pipe"
else
echo "Unsupported MSYSTEM: $MSYSTEM"