[gmp-ecm] 35/77: Disable SSE2 on i386 (patch by Matthias Klose).
Jerome Benoit
calculus-guest at moszumanska.debian.org
Sat Jun 6 12:33:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
calculus-guest pushed a commit to branch master
in repository gmp-ecm.
commit e49395f295233c279890dc41d44bd2b8e5ad043b
Author: Laurent Fousse <laurent at komite.net>
Date: Tue Dec 21 11:27:09 2010 +0100
Disable SSE2 on i386 (patch by Matthias Klose).
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 11d0c37..65dad10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,7 @@ endif
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
CFLAGS = -Wall -g
@@ -40,10 +41,14 @@ else
CFLAGS += -O2
endif
+ifeq ($(DEB_HOST_ARCH),i386)
+ config_opts = --disable-sse2
+endif
+
config.status: configure
dh_testdir
# Add here commands to configure the package.
- CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --disable-assert $(MYCC)
+ CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared --disable-assert $(MYCC) $(config_opts)
build: build-stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gmp-ecm.git
More information about the debian-science-commits
mailing list