Skip to content
Snippets Groups Projects
Commit b4c0ae13 authored by Laurent Carlier's avatar Laurent Carlier
Browse files

prevent FS#54845

parent 74de9767
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
pkgname=xf86-video-amdgpu
pkgver=1.3.0
pkgrel=1
pkgrel=2
pkgdesc="X.org amdgpu video driver"
arch=('i686' 'x86_64')
url="https://xorg.freedesktop.org/"
......@@ -19,6 +19,13 @@ validpgpkeys=('B09FAF35BE914521980951145A81AF8E6ADBB200') # Michel Daenzer <mich
build() {
cd ${pkgname}-${pkgver}
# Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
# With them, module fail to load with undefined symbol.
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
export CFLAGS=${CFLAGS/-fno-plt}
export CXXFLAGS=${CXXFLAGS/-fno-plt}
export LDFLAGS=${LDFLAGS/,-z,now}
./configure --prefix=/usr \
--enable-glamor
make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment