diff options
-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)" |