summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Carlier2018-07-14 08:16:57 +0200
committerLaurent Carlier2018-07-14 08:16:57 +0200
commit2673045952a400741aac1a1c5b32ca7a10ef594c (patch)
treee7098669e63d265be07b6e009df8fab47c1cb93f
parentf2cd4e4484c34c2790a5a3d01f8261454112a390 (diff)
downloadaur-2673045952a400741aac1a1c5b32ca7a10ef594c.tar.gz
Disable LTO
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 752e2f29bee..f75eca0649d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,6 +41,11 @@ prepare() {
}
build() {
+ # /usr/lib/amdvlk64.so: undefined symbol: _ZN3Pal5Linux19DisplayWindowSystem30DeterminePresentationSupportedEPNS0_6DeviceEPvl
+ export CFLAGS=${CFLAGS/-fno-plt}
+ export CXXFLAGS=${CXXFLAGS/-fno-plt}
+ export LDFLAGS=${LDFLAGS/,-z,now}
+
msg "building xgl..."
cd xgl
cmake -H. -Bbuilds/Release64 \