File: disable_mtune_native.patch

package info (click to toggle)
mptp 0.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 756 kB
  • sloc: ansic: 4,554; python: 1,274; yacc: 301; lex: 132; makefile: 66; sh: 16
file content (19 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Author: Andreas Tille <tille@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
Forwarded: not-needed

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -4,7 +4,7 @@ libparse_utree_a_SOURCES = parse_utree.y
 libparse_rtree_a_SOURCES = parse_rtree.y lex_rtree.l
 noinst_LIBRARIES = libparse_utree.a libparse_rtree.a
 
-AM_CFLAGS=-I${srcdir} -O3 -mtune=native -Wall -Wsign-compare -g
+AM_CFLAGS=-I${srcdir} -O3 -Wall -Wsign-compare -g
 AM_YFLAGS = -d -p `${SED} -n 's/.*_\(.*\)/\1_/p' <<<"$*"`
 AM_LFLAGS = -o lex.yy.c