summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Carlier2018-07-14 08:16:26 +0200
committerLaurent Carlier2018-07-14 08:16:26 +0200
commit4442d82d0cc48f8b695bea19b4765024ea05bb65 (patch)
tree2eb92b75a7154f86f61c577c5e28d3b860a20ff1
parent7113a960ec7b55f072c0190b2690edd2780cee9c (diff)
downloadaur-4442d82d0cc48f8b695bea19b4765024ea05bb65.tar.gz
Disable LTO
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8d700d7acd6..98afb03482e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,6 +36,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
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"