[arch-commits] Commit in 9base/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jul 7 21:16:06 UTC 2020
Date: Tuesday, July 7, 2020 @ 21:16:05
Author: foutrelis
Revision: 660256
Add -fcommon workaround for GCC 10
Modified:
9base/trunk/PKGBUILD
----------+
PKGBUILD | 2 ++
1 file changed, 2 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-07 21:10:08 UTC (rev 660255)
+++ PKGBUILD 2020-07-07 21:16:05 UTC (rev 660256)
@@ -18,6 +18,8 @@
build() {
cd $pkgname-$pkgver
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+
case $CARCH in
i686) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = 386#' config.mk ;;
x86_64) sed -i 's#^OBJTYPE\s.*$#OBJTYPE = x86_64#' config.mk ;;
More information about the arch-commits
mailing list