[hypre] 01/02: fix build flags

Drew Parsons dparsons at moszumanska.debian.org
Wed Nov 2 14:52:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to tag experimental/2.11.1-1exp3
in repository hypre.

commit 055b6c7868264a4e732551d4a38bf953acd62116
Author: Drew Parsons <dparsons at debian.org>
Date:   Wed Nov 2 22:23:07 2016 +0800

    fix build flags
    
    Don't use -march=native for general packages. It breaks ppc64el,
    sparc64 etc.
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9ab80b9..bf41e33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hypre (2.11.1-1exp3) UNRELEASED; urgency=medium
+
+  * fix build flags (don't use -march=native for general packages)
+
+ -- Drew Parsons <dparsons at debian.org>  Wed, 02 Nov 2016 22:21:30 +0800
+
 hypre (2.11.1-1exp2) experimental; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 59f9ec0..76cf88a 100644
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,8 @@
 
 export HYPRE_SOVERSION=2.11.1
 
-export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -O3 -march=native
-export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic -O3 -march=native
+export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -O3
+export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic -O3
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed
 export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 export DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/hypre.git



More information about the debian-science-commits mailing list