[arch-commits] Commit in ipmitool/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:16:34 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:16:34
  Author: foutrelis
Revision: 660284

Add -fcommon workaround for GCC 10

Modified:
  ipmitool/trunk/PKGBUILD

----------+
 PKGBUILD |    2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-07 21:16:33 UTC (rev 660283)
+++ PKGBUILD	2020-07-07 21:16:34 UTC (rev 660284)
@@ -23,6 +23,8 @@
 build(){
 	cd "${srcdir}/${pkgname}-${pkgver}"
 
+	CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
 	./configure --prefix=/usr --sbindir=/usr/bin --with-kerneldir
 	make
 }



More information about the arch-commits mailing list