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

Evangelos Foutras foutrelis at archlinux.org
Tue May 19 09:55:10 UTC 2020


    Date: Tuesday, May 19, 2020 @ 09:55:08
  Author: foutrelis
Revision: 386611

Add -fcommon workaround for GCC 10

Modified:
  freeglut/trunk/PKGBUILD

----------+
 PKGBUILD |    1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-19 09:55:04 UTC (rev 386610)
+++ PKGBUILD	2020-05-19 09:55:08 UTC (rev 386611)
@@ -22,6 +22,7 @@
 }
 
 build() {
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   cmake -H$pkgname-$pkgver -Bbuild \
     -DFREEGLUT_BUILD_STATIC_LIBS=OFF \
     -DCMAKE_INSTALL_PREFIX=/usr \



More information about the arch-commits mailing list