[arch-commits] Commit in kexec-tools/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 19 10:08:46 UTC 2020
Date: Tuesday, May 19, 2020 @ 10:08:45
Author: foutrelis
Revision: 386628
Add -fcommon workaround for GCC 10
Modified:
kexec-tools/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-19 10:08:44 UTC (rev 386627)
+++ PKGBUILD 2020-05-19 10:08:45 UTC (rev 386628)
@@ -12,9 +12,14 @@
depends=('zlib' 'xz')
license=('GPL2')
+prepare() {
+ cd $pkgname
+ ./bootstrap
+}
+
build() {
cd $pkgname
- ./bootstrap
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr --sbindir=/usr/bin --without-lzma
make
}
More information about the arch-commits
mailing list