guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: gcj: Fix build on armhf.


From: Leo Famulari
Subject: Re: [PATCH] gnu: gcj: Fix build on armhf.
Date: Sat, 26 Nov 2016 00:32:02 -0500
User-agent: Mutt/1.7.1 (2016-10-04)

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?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]