diff options
Diffstat (limited to 'system/nvidia-driver/nvidia-driver.SlackBuild')
-rw-r--r-- | system/nvidia-driver/nvidia-driver.SlackBuild | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild b/system/nvidia-driver/nvidia-driver.SlackBuild index fa66bc347dc1..9bc12c25acf3 100644 --- a/system/nvidia-driver/nvidia-driver.SlackBuild +++ b/system/nvidia-driver/nvidia-driver.SlackBuild @@ -25,7 +25,7 @@ # see changelog.txt PRGNAM=nvidia-driver -VERSION=${VERSION:-390.87} +VERSION=${VERSION:-410.73} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -47,26 +47,15 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - TARGET="x86" - LIBDIRSUFFIX="" - COMPAT32=no -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - TARGET="x86" - LIBDIRSUFFIX="" - COMPAT32=no -elif [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" TARGET="x86_64" LIBDIRSUFFIX="64" # Set 32-bit compatibility flag default COMPAT32=${COMPAT32:-no} else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" - COMPAT32=no + echo "$ARCH is not supported." + exit 1 fi SRCNAM=NVIDIA-Linux-$TARGET-${VERSION} |