summaryrefslogtreecommitdiff
path: root/profiles/arch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-11 00:10:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-11 00:10:45 +0100
commit82002be95de85b10f5953f5e10ced81a40ec1fba (patch)
tree3e95915eeab9799a67d9b0c508260ca31a4694ab /profiles/arch
parentfc6ff4de73d70ead4ce3a005b4f5328f2b23129b (diff)
gentoo auto-resync : 11:10:2023 - 00:10:45
Diffstat (limited to 'profiles/arch')
-rw-r--r--profiles/arch/riscv/rv32imac/ilp32/make.defaults9
-rw-r--r--profiles/arch/riscv/rv32imac/ilp32d/make.defaults9
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"