[openblas] 04/05: Add "-march=native -mtune=native" to CFLAGS when building custom package.

Sébastien Villemot sebastien at debian.org
Mon Jan 23 14:27:41 UTC 2017


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

sebastien pushed a commit to branch master
in repository openblas.

commit c141f1b43dab0a31d34c3169e306d3ddd7824548
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon Jan 23 15:05:23 2017 +0100

    Add "-march=native -mtune=native" to CFLAGS when building custom package.
    
    Closes: #844509
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 2ba4f7e..de75b84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,7 +89,7 @@ override_dh_auto_clean:
 
 custom:
 	dch --local='+custom'  "custom build on: `uname -a`"
-	LANG=C debian/rules TARGET=custom build binary
+	LANG=C DEB_CFLAGS_MAINT_APPEND="-march=native -mtune=native" debian/rules TARGET=custom build binary
 
 # We want packages linked with -lblas to depend on any BLAS alternative, and we
 # want packages linked with -lopenblas to depend specifically on

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



More information about the debian-science-commits mailing list