From 00a287e77d4917662b5f57ff99898b598c3fe996 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Mon, 14 Feb 2022 23:24:36 +0000 Subject: [PATCH] Fix compilation of mips64 compiler by simple use of 'make mips64' --- compiler/fpcdefs.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/compiler/fpcdefs.inc b/compiler/fpcdefs.inc index 569daa345d..ad2826078c 100644 --- a/compiler/fpcdefs.inc +++ b/compiler/fpcdefs.inc @@ -281,6 +281,14 @@ {$define mips64} {$endif mips64eb} +{ Also accept mips64 for big endian 64-bit mips, but only if mips64 el is not eet } +{$ifdef mips64} + {$define mips} + {$ifndef mips64el} + {$define mips64eb} + {$endif not mips64el} +{$endif mips64} + {$ifdef mips64el} {$define mips} {$define mips64}