From e957347dd693d8e2a96e5ed194a4136d50fae976 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 2 Feb 2017 21:20:54 +0100 Subject: [PATCH] app: build layer mode operations with SSE2 flags. Some of the generic files still contain SSE2 code, in particular gimpoperationlayermode.c. The reason why it often works without is that native gcc will usually pre-define SSE macros by default. To check this: gcc -dM -E - < /dev/null | grep SSE Yet I had a case on a small netbook where the SSE macros were not pre-defined even though supported. Consequently the build failed. --- app/operations/layer-modes/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/app/operations/layer-modes/Makefile.am b/app/operations/layer-modes/Makefile.am index 6aa906343c..2764580682 100644 --- a/app/operations/layer-modes/Makefile.am +++ b/app/operations/layer-modes/Makefile.am @@ -9,6 +9,7 @@ AM_CPPFLAGS = \ $(CAIRO_CFLAGS) \ $(GEGL_CFLAGS) \ $(GDK_PIXBUF_CFLAGS) \ + $(SSE2_EXTRA_CFLAGS) \ -I$(includedir) noinst_LIBRARIES = \