commit:     a11dd6729862d5ded07a7956fb6c553cd415c542
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 18 21:50:18 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Dec 18 21:50:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11dd672

sys-libs/glibc: Filter LFS and TIME64 defines

Closes: https://bugs.gentoo.org/829583
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.34-r4.ebuild | 4 ++++
 sys-libs/glibc/glibc-9999.ebuild    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-libs/glibc/glibc-2.34-r4.ebuild 
b/sys-libs/glibc/glibc-2.34-r4.ebuild
index 062f592828cb..ee3c1a744ba7 100644
--- a/sys-libs/glibc/glibc-2.34-r4.ebuild
+++ b/sys-libs/glibc/glibc-2.34-r4.ebuild
@@ -423,6 +423,10 @@ setup_flags() {
        # #492892
        filter-flags -frecord-gcc-switches
 
+       # #829583
+       filter-lfs-flags
+       filter-flags -D_TIME_BITS=64
+
        unset CBUILD_OPT CTARGET_OPT
        if use multilib ; then
                CTARGET_OPT=$(get_abi_CTARGET)

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 250af42f3f0a..a9caa901cd6f 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -415,6 +415,10 @@ setup_flags() {
        # #492892
        filter-flags -frecord-gcc-switches
 
+       # #829583
+       filter-lfs-flags
+       filter-flags -D_TIME_BITS=64
+
        unset CBUILD_OPT CTARGET_OPT
        if use multilib ; then
                CTARGET_OPT=$(get_abi_CTARGET)

Reply via email to