[openblas] 06/10: Better handling of DEB_BUILD_OPTIONS=noopt.

Sébastien Villemot sebastien at debian.org
Thu Jul 27 16:29:56 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 1feda5eb4af283685fc8620665ff03f32c2fa4b0
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jul 27 14:37:53 2017 +0200

    Better handling of DEB_BUILD_OPTIONS=noopt.
    
    Gbp-Dch: Ignore
---
 debian/rules | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 78fc80d..1d5ac76 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,9 +5,8 @@ include /usr/share/dpkg/pkg-info.mk
 
 MAKE_OPTIONS := NO_LAPACKE=1 NO_AFFINITY=1 NO_WARMUP=1 CFLAGS="$(CPPFLAGS) $(CFLAGS)" FFLAGS="$(FFLAGS)"
 
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	MAKE_OPTIONS += DEBUG=1
-endif
+# Avoid having -O2 automatically added (especially for DEB_BUILD_OPTIONS=noopt)
+MAKE_OPTIONS += COMMON_OPT= FCOMMON_OPT=-frecursive
 
 # Build generic package with hardcoded max number of threads of 64
 GENERIC_OPTIONS := NUM_THREADS=64

-- 
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