File: disable-optimization

package info (click to toggle)
yaskkserv 1.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,008 kB
  • sloc: cpp: 11,973; perl: 702; sh: 191; makefile: 90
file content (21 lines) | stat: -rw-r--r-- 742 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: disable needless optimization flag.
Origin: vendor
Bug-Debian: http://bugs.debian.org/645712
Forwarded: not-needed
Author: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
        KURASHIKI Satoru <lurdan@gmail.com>

Index: yaskkserv/configure
===================================================================
--- yaskkserv.orig/configure	2014-03-27 14:22:20.000000000 +0900
+++ yaskkserv/configure	2014-03-27 14:26:20.000000000 +0900
@@ -573,9 +573,6 @@
 
 {
     my $common = '';
-    if (CompilerCheck('', '', '-march=native')) {
-	$common .= '-march=native';
-    }
     my $optimize = '';
     if (isClang() or CompilerIsSupport($global{'compiler_version'}, 4, 0, 0)) {
 	if (CompilerCheck("#include <math.h>\n", '', '-Ofast')) {