Fix missing crtbeginS.o on mipsel
authorPeter Blackman <peter@pblackman.plus.com>
Sun, 19 Jan 2025 13:47:51 +0000 (14:47 +0100)
committerAbou Al Montacir <abou.almontacir@sfr.fr>
Sun, 19 Jan 2025 13:47:51 +0000 (14:47 +0100)
Forwarded: No
Last-Update: 2023-03-14

Add mipsel to the case statement, so the gcc library folder
is defined in /etc/fpc/cfg

Gbp-Pq: Name Fix-missing-crtbeginS.o-on-mipsel.patch

fpcsrc/packages/fpmkunit/src/fpmkunit.pp

index 6a71110d751a811e52ab3d049f86bc60de6fe8a3..049a9a3af340b3ea4da394ec24530bde4feb6e32 100644 (file)
@@ -2813,6 +2813,7 @@ begin
       powerpc:  result := GetGccDirArch('cpupowerpc','-m32');
       powerpc64:result := GetGccDirArch('cpupowerpc64','-m64');
       aarch64:  result := GetGccDirArch('cpuaarch64','');
+      mipsel:   result := GetGccDirArch('cpumipsel','');
     end {case}
   else if OS = darwin then
     case CPU of