From 3456b42827113aaf378a79615a4466b7be1084d4 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Mar 2020 10:12:33 +0200 Subject: [PATCH] xf86-video-nouveau: GCC 10 fixes --- xorg/xf86-video-nouveau/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xorg/xf86-video-nouveau/build b/xorg/xf86-video-nouveau/build index ca9aeb8c..ec06a9e3 100755 --- a/xorg/xf86-video-nouveau/build +++ b/xorg/xf86-video-nouveau/build @@ -2,7 +2,8 @@ patch -p1 < rootless-nouveau.patch -export LDFLAGS="-Wl,-z,lazy" +export LDFLAGS="$LDFLAGS -Wl,-z,lazy" +export CFLAGS="$CFLAGS -fcommon" ./configure \ --prefix=/usr