| 1 |
Description: Fixed compilation on mipsel |
| 2 |
This patch fixes a bug causing CGE not compile on mipsel architecture. |
| 3 |
. |
| 4 |
The issue was that on mipsel both CPUmips and CPUmipsel are defined by the |
| 5 |
compiler. |
| 6 |
Author: Abou Al Montacir <[email protected]> |
| 7 |
Origin: Debian |
| 8 |
Forwarded: Not-Needed |
| 9 |
Last-Update: 2025-02-13 |
| 10 |
|
| 11 |
Index: castle-game-engine/tools/common-code/toolarchitectures.pas |
| 12 |
=================================================================== |
| 13 |
--- castle-game-engine.orig/tools/common-code/toolarchitectures.pas |
| 14 |
+++ castle-game-engine/tools/common-code/toolarchitectures.pas |
| 15 |
@@ -140,8 +140,8 @@ const |
| 16 |
{$ifdef CPUpowerpc64} powerpc64 {$endif} |
| 17 |
{$ifdef CPUavr} avr {$endif} |
| 18 |
{$ifdef CPUarmeb} armeb {$endif} |
| 19 |
|
| 20 |
|
| 21 |
+ {$ifdef CPUmipsel} mipsel {$else} |
| 22 |
+ {$ifdef CPUmips} mips {$endif}{$endif} |
| 23 |
{$ifdef CPUjvm} jvm {$endif} |
| 24 |
{$ifdef CPUi8086} i8086 {$endif} |
| 25 |
{$ifdef CPUsparc64} sparc64 {$endif} |