From acc9281befb1b8b86d7f53dc441aec7be482bf5b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Mar 2020 10:09:36 +0200 Subject: [PATCH] xf86-video-amdgpu: GCC 10 fixes --- xorg/xf86-video-amdgpu/build | 3 ++- xorg/xf86-video-amdgpu/depends | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xorg/xf86-video-amdgpu/build b/xorg/xf86-video-amdgpu/build index 8722062f..9a2289d8 100755 --- a/xorg/xf86-video-amdgpu/build +++ b/xorg/xf86-video-amdgpu/build @@ -2,7 +2,8 @@ patch -p1 < rootless-amdgpu.patch -export LDFLAGS="-Wl,-z,lazy" +export LDFLAGS="$LDFLAGS -Wl,-z,lazy" +export CFLAGS="$CFLAGS -fcommon" ./configure \ --prefix=/usr diff --git a/xorg/xf86-video-amdgpu/depends b/xorg/xf86-video-amdgpu/depends index 0d1c94e3..d0bba431 100644 --- a/xorg/xf86-video-amdgpu/depends +++ b/xorg/xf86-video-amdgpu/depends @@ -1,4 +1,3 @@ -eudev expat libdrm libpciaccess