diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-10-10 22:16:41 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2023-10-10 22:17:35 +0200 |
commit | f6caba28e1a825acc76709c406c3b987253bbcc7 (patch) | |
tree | a8302075ccee0ce1cb0139c9a48ee56d080f371a /profiles/arch | |
parent | sys-apps/openrc: add 0.51 (diff) | |
download | gentoo-f6caba28e1a825acc76709c406c3b987253bbcc7.tar.gz gentoo-f6caba28e1a825acc76709c406c3b987253bbcc7.tar.bz2 gentoo-f6caba28e1a825acc76709c406c3b987253bbcc7.zip |
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@gentoo.org>
Diffstat (limited to 'profiles/arch')
-rw-r--r-- | profiles/arch/riscv/rv32imac/ilp32/make.defaults | 9 | ||||
-rw-r--r-- | profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 9 |
2 files changed, 18 insertions, 0 deletions
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 <floppym@gentoo.org> (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel <dilfridge@gentoo.org> (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 <floppym@gentoo.org> (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel <dilfridge@gentoo.org> (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes" |