User:Vaukai/gcc 10

From Gentoo Wiki
< User:Vaukai(Redirected from User:Charles17/gcc 10)
Jump to:navigation Jump to:search

Moving to GCC-10.1.0

These are some bugs and and settings to make packages compile with gcc:10.

FILE /etc/portage/package.env
# https://bugs.gentoo.org/721972
=sys-power/suspend-1.0_p20190605 fcommon

# https://bugs.gentoo.org/721968
=app-office/glabels-3.4.1 fcommon
FILE /etc/portage/env/fcommon
CFLAGS="${CFLAGS} -fcommon"
CXXFLAGS="${CXXFLAGS} -fcommon"
FILE /etc/portage/env/fno-lifetime-dse
CFLAGS="${CFLAGS} -fno-lifetime-dse"
CXXFLAGS="${CXXFLAGS} -fno-lifetime-dse"

See also