From: Pascal Packaging Team Date: Mon, 22 Jan 2018 09:28:53 +0000 (+0000) Subject: fix_FTBFS_on_linux_not_amd64 X-Git-Tag: archive/raspbian/3.0.4+dfsg-14+rpi1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=36b403127536cfc5b7a77e9af82109a21d8c2e7c;p=fpc.git fix_FTBFS_on_linux_not_amd64 Gbp-Pq: Name fix_FTBFS_on_linux_not_amd64.patch --- diff --git a/fpcsrc/compiler/systems/t_linux.pas b/fpcsrc/compiler/systems/t_linux.pas index cdfcac06..ed0161c7 100644 --- a/fpcsrc/compiler/systems/t_linux.pas +++ b/fpcsrc/compiler/systems/t_linux.pas @@ -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}