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