python/python3-fonttools: Update python3-fonttools.SlackBuild

change mtune flag to generic

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
lecramyajiv 2024-01-20 20:24:00 +05:30 committed by Willy Sudiarto Raharjo
parent 893dc7fc17
commit b12263ce50
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Slackware build script for python-fonttools
# Slackware build script for python3-fonttools
# Copyright 2017-2019,2022 Andrew Clemons, Wellington New Zealand
# Copyright 2023 Vijay Marcel
@ -56,7 +56,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC"
SLKCFLAGS="-march=x86-64 -mtune=generic -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"