[arch-commits] Commit in nvidia-open/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Thu May 12 19:38:33 UTC 2022


    Date: Thursday, May 12, 2022 @ 19:38:33
  Author: heftig
Revision: 445340

Disable buildflags: These should not be used for kernel modules, but this peculiar build system does.

Modified:
  nvidia-open/trunk/PKGBUILD

----------+
 PKGBUILD |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-12 19:31:41 UTC (rev 445339)
+++ PKGBUILD	2022-05-12 19:38:33 UTC (rev 445340)
@@ -9,7 +9,7 @@
 depends=("nvidia-utils=${pkgver}" 'libglvnd')
 makedepends=('linux-headers')
 license=('GPL')
-options=('!lto')
+options=('!lto' '!buildflags')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${pkgver}.tar.gz")
 sha512sums=('2a95132cfebe2dd746e2b507829618557a2518b56d8d77628df9f8073f154fab769604b0789e852e4cc6a52f3130b4b637068b0469931464019f8386db48041f')
 
@@ -47,7 +47,6 @@
 
 build() {
   cd open-gpu-kernel-modules-${pkgver}
-  export CFLAGS="${CFLAGS/-fno-plt/}"
   make SYSSRC="/usr/src/linux"
 }
 



More information about the arch-commits mailing list