GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net
Leo Famulari <l...@famulari.name> writes:

> On Fri, Nov 25, 2016 at 10:35:15PM +0100, Ricardo Wurmus wrote:
>> * gnu/packages/patches/gcj-arm-mode.patch: New file.
>> * gnu/local.mk (dist_patch_DATA): Add patch.
>> * gnu/packages/gcc.scm (gcj): Add patch.
>> [arguments]: Delete failing tests.
>
>> diff --git a/gnu/packages/patches/gcj-arm-mode.patch 
>> b/gnu/packages/patches/gcj-arm-mode.patch
>> new file mode 100644
>> index 0000000..16fdb5e
>> --- /dev/null
>> +++ b/gnu/packages/patches/gcj-arm-mode.patch
>> @@ -0,0 +1,36 @@
>> +Taken from
>> +https://sources.debian.net/data/main/g/gcc-4.9/4.9.2-10/debian/patches/gcj-arm-mode.diff
>> +
>> +# 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"
>> ++
>
> Is the patch applied only on armhf machines?

It is applied to the sources but they affect the behaviour on armhf
only AFAICS.

-- 
Ricardo



Reply via email to