[SCM] transcode/master.experimental: debian/rules: Don't disable SSE and SSE2 on amd64.
rbrito-guest at users.alioth.debian.org
rbrito-guest at users.alioth.debian.org
Thu May 9 02:52:44 UTC 2013
The following commit has been merged in the master.experimental branch:
commit 376aeb069a7112fc8f262cf069efcdde1456fa42
Author: Rogério Brito <rbrito at ime.usp.br>
Date: Wed May 8 23:49:55 2013 -0300
debian/rules: Don't disable SSE and SSE2 on amd64.
Given that all amd64 CPUs are required to implement the SSE and SSE2
instruction sets, and that GCC defaults to using these instructions for
floating point (instead of those for the x87 coprocessors), there's little
to no advantage to disabling these options on amd64 machines.
Closes: #707321
Signed-off-by: Rogério Brito <rbrito at ime.usp.br>
diff --git a/debian/rules b/debian/rules
index ceffae1..81d57af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,16 @@
#!/usr/bin/make -f
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
nooptflags += --disable-3dnow
nooptflags += --disable-altivec
nooptflags += --disable-mmx
-nooptflags += --disable-sse
-nooptflags += --disable-sse2
+
+ifneq ($(DEB_HOST_ARCH),amd64)
+ nooptflags += --disable-sse
+ nooptflags += --disable-sse2
+endif
confflags += $(nooptflags)
confflags += --enable-a52
--
transcode packaging
More information about the pkg-multimedia-commits
mailing list