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

From: Leo Famulari <[email-masked]>
Date: Wed, 24 Aug 2016 16:00:10 -0400

On Mon, Aug 22, 2016 at 11:53:52PM -0500, Eric Bavier wrote:
> 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?

Mark pointed out on IRC that we don't want to assume support for SSE for
our i686 packages, and that SSE/SSE2 is part of the base specification
for x86_64.

So, I pushed this patch as 00831624, and I'm not going to do anything
related to SSE.