diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-07-01 13:33:53 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-07-01 13:34:22 -0400 |
commit | eb1b4e717c58bf5d34e6bccdb2fa9503d82790fb (patch) | |
tree | 54ec5c222ef9b520dbb671b553e508bdc6b2121d /sys-libs/libsepol | |
parent | media-libs/libtgvoip: drop p20200627-r1 (diff) | |
download | gentoo-eb1b4e717c58bf5d34e6bccdb2fa9503d82790fb.tar.gz gentoo-eb1b4e717c58bf5d34e6bccdb2fa9503d82790fb.tar.bz2 gentoo-eb1b4e717c58bf5d34e6bccdb2fa9503d82790fb.zip |
sys-libs/libsepol: add workaround for GCC 10
Bug: https://bugs.gentoo.org/706730
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'sys-libs/libsepol')
-rw-r--r-- | sys-libs/libsepol/libsepol-3.0.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/libsepol/libsepol-9999.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys-libs/libsepol/libsepol-3.0.ebuild b/sys-libs/libsepol/libsepol-3.0.ebuild index 950ca9db1726..91881924e6a8 100644 --- a/sys-libs/libsepol/libsepol-3.0.ebuild +++ b/sys-libs/libsepol/libsepol-3.0.ebuild @@ -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)" diff --git a/sys-libs/libsepol/libsepol-9999.ebuild b/sys-libs/libsepol/libsepol-9999.ebuild index cd78384ffb9b..bffc7757949b 100644 --- a/sys-libs/libsepol/libsepol-9999.ebuild +++ b/sys-libs/libsepol/libsepol-9999.ebuild @@ -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)" |