From 021409ea9d4af00e1b845eec4cd139dc715db118 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 5 Sep 2021 07:47:44 +0200 Subject: extra/firefox: building with gcc10 for now --- extra/firefox/PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 03ae45d7..74d7d6ff 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -185,3 +185,21 @@ if [ "${CARCH}" = "i686" ]; then CFLAGS="$CFLAGS -mmmx" CXXFLAGS="$CXXFLAGS -mmmx" fi + +# actually, this should be fixed in gcc 11? +# for now let's build with gcc10 +# +# https://bugzilla.mozilla.org/show_bug.cgi?id=1713071 +# https://bugzilla.mozilla.org/show_bug.cgi?id=1710235 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100644 +# +#11:28.22 /usr/include/c++/11.1.0/type_traits:2933:11: error: no type named ‘type’ in +# ‘struct std::invoke_result > >::PutEntry(nsTHashtable > >::KeyType, const fallible_t&)::, mozilla::Maybe > >::EntryHandle>&&>’ +#11:28.22 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>:: +#type; + +makedepends+=(gcc10) -- cgit v1.2.3-70-g09d2