Author: post
Date: 2009-12-30 18:15:24 +0100 (Wed, 30 Dec 2009)
New Revision: 2893

Modified:
   branches/rawstudio-ng-color/plugins/resample/Makefile.am
Log:
Resampler: Enable SSE2 resampler on 32 bit machines.

Modified: branches/rawstudio-ng-color/plugins/resample/Makefile.am
===================================================================
--- branches/rawstudio-ng-color/plugins/resample/Makefile.am    2009-12-30 
16:03:31 UTC (rev 2892)
+++ branches/rawstudio-ng-color/plugins/resample/Makefile.am    2009-12-30 
17:15:24 UTC (rev 2893)
@@ -1,8 +1,15 @@
 plugindir = $(libdir)/rawstudio/plugins
 
+if CAN_COMPILE_SSE2
+SSE_FLAG=-msse2
+else
+SSE_FLAG=
+endif
+
 AM_CFLAGS =\
        -Wall\
-       -O4
+       -O4\
+       $(SSE_FLAG)
 
 AM_CXXFLAGS = $(AM_CFLAGS)
 


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to