diff --git a/utils/fprcp/fpmake.pp b/utils/fprcp/fpmake.pp index 486651181f..2b710fa11d 100644 --- a/utils/fprcp/fpmake.pp +++ b/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 := ''; P.License := 'LGPL with modification'; diff --git a/utils/h2pas/fpmake.pp b/utils/h2pas/fpmake.pp index 0a7b146c1f..fac0979e14 100644 --- a/utils/h2pas/fpmake.pp +++ b/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 := ''; P.License := 'LGPL with modification'; diff --git a/utils/tply/fpmake.pp b/utils/tply/fpmake.pp index ee5c03b1cd..f854f3789a 100644 --- a/utils/tply/fpmake.pp +++ b/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 := ''; P.License := 'LGPL with modification';