community/xf86-video-nouveau: fix build with gcc 14

This commit is contained in:
Jingyun Hua 2024-09-11 09:35:34 +00:00 committed by Natanael Copa
parent 15c07d51e0
commit ca5d4f3834

View File

@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-nouveau
pkgver=1.0.17
pkgrel=5
pkgrel=6
pkgdesc="Open-source X.org drivers for nVidia video cards"
url="https://nouveau.freedesktop.org/"
arch="all"
@ -20,8 +20,8 @@ prepare() {
}
build() {
export CFLAGS="${CFLAGS/-fno-plt}"
export CXXFLAGS="${CXXFLAGS/-fno-plt}"
export CFLAGS="${CFLAGS/-fno-plt} -DFB_ACCESS_WRAPPER"
export CXXFLAGS="${CXXFLAGS/-fno-plt} -DFB_ACCESS_WRAPPER"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
./configure \
--build=$CBUILD \