[med-svn] [mptp] 02/08: Disable -mtune=native

Andreas Tille tille at debian.org
Sat Aug 5 11:48:39 UTC 2017


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

tille pushed a commit to branch master
in repository mptp.

commit 04649f15536c8b08ab5f57b1c547d030c9009b52
Author: Andreas Tille <tille at debian.org>
Date:   Sat Aug 5 13:34:41 2017 +0200

    Disable -mtune=native
---
 debian/changelog                          |  2 ++
 debian/patches/disable_mtune_native.patch | 18 ++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ad8678a..2e8c371 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mptp (0.2.2-2) UNRELEASED; urgency=medium
   * Do not try parallel builds since makefile is not properly generated
     (see bug #541713)
     Closes: #870783
+  * Disable -mtune=native
+    Closes: #870784
 
  -- Andreas Tille <tille at debian.org>  Sat, 05 Aug 2017 13:29:27 +0200
 
diff --git a/debian/patches/disable_mtune_native.patch b/debian/patches/disable_mtune_native.patch
new file mode 100644
index 0000000..d25bdcc
--- /dev/null
+++ b/debian/patches/disable_mtune_native.patch
@@ -0,0 +1,18 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sat, 05 Aug 2017 13:29:27 +0200
+Bug-Debian: https://bugs.debian.org/870783
+Description: -mtune=native should not be used
+ For a verbose description see the according bug
+   https://bugs.debian.org/870783
+
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -5,7 +5,7 @@ libparse_rtree_a_SOURCES = parse_rtree.y
+ noinst_LIBRARIES = libparse_utree.a libparse_rtree.a
+ 
+ 
+-AM_CFLAGS=-I${srcdir} -O3 -mtune=native -Wall -Wsign-compare -g ${LIBS}
++AM_CFLAGS=-I${srcdir} -O3 -Wall -Wsign-compare -g ${LIBS}
+ AM_YFLAGS = -d -p `${SED} -n 's/.*_\(.*\)/\1_/p' <<<"$*"`
+ AM_LFLAGS = -o lex.yy.c
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5d4fb50
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable_mtune_native.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mptp.git



More information about the debian-med-commit mailing list