Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > eba68d52850058d71c154afca4ed4fc6 > files > 4

fpc-3.0.4-6.mga7.src.rpm

Description: FPC 3.0.0rc1 FTBFS on all archs except ARMEL & AMD64 because
 the linker can't find the appropriate symbols
Author: Edmund Grimley Evans <edmund.grimley.evans@gmail.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800811
Source: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/systems/t_linux.pas?r1=31675&r2=31980

Index: fpc/fpcsrc/compiler/systems/t_linux.pas
===================================================================
--- fpc.orig/fpcsrc/compiler/systems/t_linux.pas
+++ fpc/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/lib64',true);
+{$endif aarch64}
 end;
 
 {$ifdef m68k}