sys-libs/libsepol: add workaround for GCC 10

Bug: https://bugs.gentoo.org/706730
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-07-01 13:34:22 -04:00
parent 7b51d0c7fa
commit eb1b4e717c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -38,6 +38,10 @@ src_prepare() {
multilib_src_compile() {
tc-export CC AR RANLIB
# https://bugs.gentoo.org/706730
local -x CFLAGS="${CFLAGS} -fcommon"
emake \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
SHLIBDIR="/$(get_libdir)"
+4
View File
@@ -38,6 +38,10 @@ src_prepare() {
multilib_src_compile() {
tc-export CC AR RANLIB
# https://bugs.gentoo.org/706730
local -x CFLAGS="${CFLAGS} -fcommon"
emake \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
SHLIBDIR="/$(get_libdir)"