about summary refs log tree commit diff
path: root/editor/pamflip
diff options
context:
space:
mode:
Diffstat (limited to 'editor/pamflip')
-rw-r--r--editor/pamflip/Makefile1
-rw-r--r--editor/pamflip/pamflip.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/editor/pamflip/Makefile b/editor/pamflip/Makefile
index 1173fe2b..ce3345f1 100644
--- a/editor/pamflip/Makefile
+++ b/editor/pamflip/Makefile
@@ -31,5 +31,6 @@ include $(SRCDIR)/common.mk
 all: $(BINARIES) $(SUBDIRS:%=%/all)
 
 pamflip_sse.o pamflip_sse.o2: CFLAGS_TARGET = $(CFLAGS_SSE)
+pamflip.o pamflip.o2: CFLAGS_TARGET = $(CFLAGS_SSE)
 
 pamflip:%:%.o $(ADDL_OBJECTS)
diff --git a/editor/pamflip/pamflip.c b/editor/pamflip/pamflip.c
index 2f711184..ade05601 100644
--- a/editor/pamflip/pamflip.c
+++ b/editor/pamflip/pamflip.c
@@ -78,7 +78,7 @@
 enum xformType {LEFTRIGHT, TOPBOTTOM, TRANSPOSE};
 
 #ifndef SIMD_PBM_TRANSPOSITION
-  #if HAVE_GCC_SSE2 && defined(__SSE2__)
+  #if WANT_SSE && defined(__SSE2__)
     #define SIMD_PBM_TRANSPOSITION 1
   #else
     #define SIMD_PBM_TRANSPOSITION 0