python/python3-setuptools-git-ls-files: Update flag.

change mtune flag to generic

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
lecramyajiv 2024-01-20 21:35:01 +05:30 committed by Willy Sudiarto Raharjo
parent 9a48d9f6c4
commit e78df8fa2d
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -55,7 +55,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-mach=x86-64 -mtune=native -pipe -O2 -fPIC"
SLKCFLAGS="-mach=x86-64 -mtune=generic -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"