summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2021-12-18 22:50:18 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-12-18 22:50:54 +0100
commita11dd6729862d5ded07a7956fb6c553cd415c542 (patch)
tree346ba759c3c95f1fced5ee6ad365a18c7e1b21d0 /sys-libs/glibc
parentdev-lang/gnat-gpl: fix ld call (diff)
downloadgentoo-a11dd6729862d5ded07a7956fb6c553cd415c542.tar.gz
gentoo-a11dd6729862d5ded07a7956fb6c553cd415c542.tar.bz2
gentoo-a11dd6729862d5ded07a7956fb6c553cd415c542.zip
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@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/glibc-2.34-r4.ebuild4
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
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)