[arch-commits] Commit in synfig/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 18 09:21:51 UTC 2021
Date: Tuesday, May 18, 2021 @ 09:21:51
Author: foutrelis
Revision: 936241
Fix build with GCC 11
Modified:
synfig/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++++
1 file changed, 5 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-18 09:06:31 UTC (rev 936240)
+++ PKGBUILD 2021-05-18 09:21:51 UTC (rev 936241)
@@ -17,6 +17,11 @@
build() {
cd $pkgname-$pkgver
+
+ # temporary workaround for GCC 11; upstream has refactored etl::clock to
+ # use std::chrono so this should not be needed in future synfig versions
+ CXXFLAGS+=' -std=c++14'
+
./configure --prefix=/usr --sysconfdir=/etc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
More information about the arch-commits
mailing list