summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>2018-06-04 12:22:55 +0200
committerSebastiaan Lokhorst <sebastiaanlokhorst@gmail.com>2018-06-04 12:22:55 +0200
commit5469e34bd27de5751f3c0d6eca0ef86a998560fd (patch)
tree926af17cddc8b771124eead660074e77fad3b5e2
parenta62cd8e62656d8b8cd274fc47a4294f6abba7c30 (diff)
Add LD_PRELOAD=/usr/lib/libstdc++.so to fix build for some people
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2d123ce..c05a9ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -70,6 +70,9 @@ build() {
--enable-version-specific-runtime-libs
#--enable-install-libiberty
+ # without LD_PRELOAD, the build fails for some people with:
+ # [Makefile:605: libstdc++.la] Error 139
+ export LD_PRELOAD=/usr/lib/libstdc++.so
make
}