fix_FTBFS_on_linux_not_amd64
authorPascal Packaging Team <pkg-pascal-devel@lists.alioth.debian.org>
Mon, 25 Nov 2019 21:51:22 +0000 (21:51 +0000)
committerAbou Al Montacir <abou.almontacir@sfr.fr>
Mon, 25 Nov 2019 21:51:22 +0000 (21:51 +0000)
Gbp-Pq: Name fix_FTBFS_on_linux_not_amd64.patch

fpcsrc/compiler/systems/t_linux.pas

index cdfcac06ce680e0e8bc6731d0dd6b913f595b4eb..ed0161c7fd9d0728e41c6362d82232d3d20d0b55 100644 (file)
@@ -151,6 +151,15 @@ begin
 {$ifdef i386}
     LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/i386-linux-gnu',true);
 {$endif i386}
+{$ifdef powerpc}
+    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc-linux-gnu',true);
+{$endif powerpc}
+{$ifdef powerpc64}
+    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/powerpc64-linux-gnu',true);
+{$endif powerpc64}
+{$ifdef aarch64}
+    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/aarch64-linux-gnu',true);
+{$endif aarch64}
 end;
 
 {$ifdef m68k}