# DP: For armhf, force arm mode instead of thumb mode --- a/src/libjava/configure.host +++ b/src/libjava/configure.host @@ -66,6 +66,9 @@ ;; esac +# on armhf force arm mode +libgcj_flags="${libgcj_flags} -marm" + AM_RUNTESTFLAGS= # Set any host dependent compiler flags. --- a/src/gcc/java/lang-specs.h +++ b/src/gcc/java/lang-specs.h @@ -47,7 +47,7 @@ %{.class|.zip|.jar|!fsyntax-only:jc1 \ %{.java|fsaw-java-file:%U.jar -fsource-filename=%i %