File aarch64-fpc-compilation-fix.patch of Package fpc

--- fpcbuild-3.2.0/fpcsrc/compiler/arm/agarmgas.pas	(Revision 46921)
+++ fpcbuild-3.2.0/fpcsrc/compiler/arm/agarmgas.pas	(Revision 46922)
@@ -105,6 +105,12 @@
         result:=inherited MakeCmdLine;
         if (current_settings.fputype = fpu_soft) then
           result:='-mfpu=softvfp '+result;
+        if (current_settings.fputype = fpu_fpa) then
+          result:='-mfpu=fpa '+result;
+        if (current_settings.fputype = fpu_fpa10) then
+          result:='-mfpu=fpa10 '+result;
+        if (current_settings.fputype = fpu_fpa11) then
+          result:='-mfpu=fpa11 '+result;
         if (current_settings.fputype = fpu_vfpv2) then
           result:='-mfpu=vfpv2 '+result;
         if (current_settings.fputype = fpu_vfpv3) then

openSUSE Build Service is sponsored by