فهرست منبع

Disable jvm-android and jvm-java targets for fprcp, h2pas and tply packages because they use memory allocation or fpc_get_output

git-svn-id: trunk@41106 -
pierre 6 سال پیش
والد
کامیت
d2a04366d4
3فایلهای تغییر یافته به همراه13 افزوده شده و 0 حذف شده
  1. 5 0
      utils/fprcp/fpmake.pp
  2. 4 0
      utils/h2pas/fpmake.pp
  3. 4 0
      utils/tply/fpmake.pp

+ 5 - 0
utils/fprcp/fpmake.pp

@@ -16,6 +16,11 @@ begin
     begin
     P:=AddPackage('utils-fprcp');
     P.ShortName:='fprcp';
+    { java and jvm-android do not support 
+      getmem/freemem and new/dispose used in
+      these sources }
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [java,android];
 
     P.Author := '<various>';
     P.License := 'LGPL with modification';

+ 4 - 0
utils/h2pas/fpmake.pp

@@ -16,6 +16,10 @@ begin
     begin
     P:=AddPackage('utils-h2pas');
     P.ShortName:='h2pas';
+    { java and jvm-android do not support 
+      fpc_get_output used in these sources }
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [java,android];
 
     P.Author := '<various>';
     P.License := 'LGPL with modification';

+ 4 - 0
utils/tply/fpmake.pp

@@ -17,6 +17,10 @@ begin
     begin
     P:=AddPackage('utils-lexyacc');
     P.ShortName:='tply';
+    { java and jvm-android do not support 
+      fpc_get_output used in these sources }
+    if Defaults.CPU=jvm then
+      P.OSes := P.OSes - [java,android];
 
     P.Author := '<various>';
     P.License := 'LGPL with modification';