[SCM] x42-plugins/master: Added optimisation.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Feb 3 15:20:33 UTC 2014


The following commit has been merged in the master branch:
commit f6c9162771b48a7e4cfdde81b630b7a3812a649d
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Feb 3 16:12:17 2014 +0100

    Added optimisation.

diff --git a/debian/rules b/debian/rules
index 8d022c6..b98d344 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,16 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+ifeq ($(DEB_HOST_ARCH_CPU),amd64)
+CFLAGS += -msse -msse2 -mfpmath=sse -mtune=generic
+endif
+
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
+CFLAGS += -mtune=generic
+endif
+
+CFLAGS += -ftree-vectorize
+
 %:
 	dh $@
 

-- 
x42-plugins packaging



More information about the pkg-multimedia-commits mailing list