Subject: bug#24290: [PATCH 1/1] gnu: imagemagick: Don't build with processor-specific optimizations.

From: Eric Bavier <[email-masked]>
Date: Mon, 22 Aug 2016 23:53:52 -0500

On Mon, 22 Aug 2016 22:40:02 -0400
Leo Famulari <[email-masked]> wrote:

> * gnu/packages/imagemagick.scm (imagemagick)[arguments]: Pass --without-gcc-arch
> to #:configure-flags.
> ---
>  gnu/packages/imagemagick.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
> index b7054c8..a554b73 100644
> --- a/gnu/packages/imagemagick.scm
> +++ b/gnu/packages/imagemagick.scm
> @@ -51,7 +51,7 @@
>                 "00arcvyhsy9i5gp3b0lhfvs04qwhxpmq0bfsv4ipllinb6mjgxf5"))))
>      (build-system gnu-build-system)
>      (arguments
> -     `(#:configure-flags '("--with-frozenpaths")
> +     `(#:configure-flags '("--with-frozenpaths" "--without-gcc-arch")
>         #:phases (modify-phases %standard-phases
>                    (add-before
>                     'build 'pre-build

This seems like a good solution to me.  We commonly target SSE2 as a
lcd.  Can we make sure that ImageMagick compiles for SSE2 at least?

`~Eric