libraries/libslirp: Update libslirp.SlackBuild

change -mtune flags from native to generic

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
lecramyajiv 2024-01-18 21:51:32 +05:30 committed by Willy Sudiarto Raharjo
parent aab00740e7
commit 084edd81a4
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC" SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then 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" LIBDIRSUFFIX="64"
else else
SLKCFLAGS="-O2" SLKCFLAGS="-O2"