summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAshley Bone2020-05-16 05:53:33 -0400
committerAshley Bone2020-05-16 05:53:33 -0400
commit6383ee36a6ed85cfe36eab91f269ffd85b4acfc1 (patch)
tree9fbafd9a3d04d1fce08366f28a4b6e6dc28a1635 /PKGBUILD
parente9c486235ef90ab72bad56f3a0d2fb555f2d4588 (diff)
downloadaur-6383ee36a6ed85cfe36eab91f269ffd85b4acfc1.tar.gz
Added -fcommon to CFLAGS to workaround linker errors with GCC 10 when variables are not declared extern in header files.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5f83ca7cd4f0..cf209337ef09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Orginally Packaged By: Mantas Mikulėnas <grawity@gmail.com>
pkgname=rasdaemon
pkgver=0.6.5
-pkgrel=1
+pkgrel=2
pkgdesc="Logging daemon for Platform Reliability, Availability and Serviceability (RAS), replacing mcelog"
arch=(i686 x86_64)
url="https://www.infradead.org/~mchehab/rasdaemon/"
@@ -26,7 +26,7 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure \
+ CFLAGS="$CFLAGS -fcommon" ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \