[arch-commits] Commit in enlightenment/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 20:46:50 UTC 2020
Date: Saturday, May 16, 2020 @ 20:46:50
Author: foutrelis
Revision: 384803
Add -fcommon workaround for GCC 10
Modified:
enlightenment/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-16 20:46:48 UTC (rev 384802)
+++ PKGBUILD 2020-05-16 20:46:50 UTC (rev 384803)
@@ -26,8 +26,10 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- export CFLAGS="$CFLAGS -fvisibility=hidden"
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ CFLAGS+=' -fvisibility=hidden'
+
if [ -d build ]; then
rm -f build
fi
More information about the arch-commits
mailing list