commit: f6caba28e1a825acc76709c406c3b987253bbcc7 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Tue Oct 10 20:16:41 2023 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Tue Oct 10 20:17:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6caba28
riscv32: force 64bit time on (there is no other variant here) Bug: https://bugs.gentoo.org/828001 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> profiles/arch/riscv/rv32imac/ilp32/make.defaults | 9 +++++++++ profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/profiles/arch/riscv/rv32imac/ilp32/make.defaults b/profiles/arch/riscv/rv32imac/ilp32/make.defaults index 702bf0db5663..4e7eed0bff7b 100644 --- a/profiles/arch/riscv/rv32imac/ilp32/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32/make.defaults @@ -15,3 +15,12 @@ CFLAGS="-O2 -pipe -march=rv32imac -mabi=ilp32" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" + +## Mike Gilbert <[email protected]> (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel <[email protected]> (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes" diff --git a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults index d21fdce62781..2464269fd8e4 100644 --- a/profiles/arch/riscv/rv32imac/ilp32d/make.defaults +++ b/profiles/arch/riscv/rv32imac/ilp32d/make.defaults @@ -15,3 +15,12 @@ CFLAGS="-O2 -pipe -march=rv32imafdc -mabi=ilp32d" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" FCFLAGS="${CFLAGS}" + +## Mike Gilbert <[email protected]> (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel <[email protected]> (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes"
