[toulbar2] 01/01: Compile with RelWithDebInfo, requiring -O3 compilation

Thomas Schiex tschiex-guest at moszumanska.debian.org
Tue May 10 16:46:01 UTC 2016


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

tschiex-guest pushed a commit to branch master
in repository toulbar2.

commit 8064faa5fbcb6a6936c57c90c49c0718de15bb2e
Author: Thomas Schiex <Thomas.Schiex at toulouse.inra.fr>
Date:   Tue May 10 18:45:22 2016 +0200

    Compile with RelWithDebInfo, requiring -O3 compilation
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index d94711c..be62852 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,5 @@
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
-		-DCMAKE_BUILD_TYPE:STRING=Release
-	# RelWithDebInfo is slower
+		-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O3 -g -DNDEBUG" \
+		-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo

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



More information about the debian-science-commits mailing list