From 82002be95de85b10f5953f5e10ced81a40ec1fba Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 11 Oct 2023 00:10:45 +0100 Subject: gentoo auto-resync : 11:10:2023 - 00:10:45 --- profiles/arch/riscv/rv32imac/ilp32/make.defaults | 9 +++++++++ profiles/arch/riscv/rv32imac/ilp32d/make.defaults | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'profiles/arch') 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 (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel (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 (2021-12-17) +## Prevent automagic use of 64-bit time_t. +## https://bugs.gentoo.org/828001 +# +# Andreas K. Hüttel (2023-10-10) +# We need to undo this for riscv32 since it only has the 64bit interface +# +enable_year2038="yes" -- cgit v1.2.3