[PATCH] RSB: Remove option --with-java

Frank Kuehndel frank.kuehndel at embedded-brains.de
Fri May 6 15:20:54 UTC 2022


From: Frank Kühndel <frank.kuehndel at embedded-brains.de>

The sb-set-builder options --with-java / --without-java do not work.
GCC configure does not known language "java". See
https://gcc.gnu.org/install/configure.html option --enable-languages.

update #4647
---
 source-builder/config/checks.cfg       | 9 ---------
 source-builder/config/gcc-common-1.cfg | 3 ---
 2 files changed, 12 deletions(-)

diff --git a/source-builder/config/checks.cfg b/source-builder/config/checks.cfg
index 93d4c97..b374d2c 100644
--- a/source-builder/config/checks.cfg
+++ b/source-builder/config/checks.cfg
@@ -19,8 +19,6 @@
 %{?without_ada:%define enable_ada 0}
 %{?with_fortran:%define enable_fortran 1}
 %{?without_fortran:%define enable_fortran 0}
-%{?with_java:%define enable_java 1}
-%{?without_java:%define enable_java 0}
 %{?with_objc:%define enable_objc 1}
 %{?without_objc:%define enable_objc 0}
 
@@ -52,13 +50,6 @@
  %define enable_fortran 0
 %endif
 
-#
-# Default to Java off.
-#
-%ifn %{defined enable_java}
- %define enable_java 0
-%endif
-
 #
 # Default to ObjC off.
 #
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index 05e0e3c..9723946 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -165,9 +165,6 @@ URL: 	   http://gcc.gnu.org/
 %if %{enable_fortran}
   languages="$languages,fortran"
 %endif
-%if %{enable_java}
-  languages="$languages,java"
-%endif
 %if %{enable_objc}
   languages="$languages,objc"
 %endif
-- 
2.35.3



More information about the devel mailing list