summaryrefslogtreecommitdiff
path: root/audio/jack/patches/patch-aj
blob: 4ad46a5853631d87d7e07c8868421ad090072705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-aj,v 1.6 2016/02/14 09:22:48 jperkin Exp $

Kill all of the overzealous optimization; if the user wants this,
there is devel/cpuflags and mk.conf.

--- configure.orig	2014-01-22 20:23:47.000000000 +0000
+++ configure
@@ -14980,7 +14980,7 @@ eval as_val=\$$as_ac_Header
 _ACEOF
 
 else
-  as_fn_error "*** a required header file is missing" "$LINENO" 5
+  : as_fn_error "*** a required header file is missing" "$LINENO" 5
 fi
 
 done
@@ -15793,7 +15793,7 @@ rm -f core conftest.err conftest.$ac_obj
 
 $as_echo "#define x86 1" >>confdefs.h
 
-    COMMON_X86_OPT_FLAGS="-O3 -fomit-frame-pointer -ffast-math -funroll-loops"
+    COMMON_X86_OPT_FLAGS="-fomit-frame-pointer"
 
 
     if test x$with_cpu_target != x ; then
@@ -15828,7 +15828,7 @@ if test "x$enable_dynsimd" = xyes; then
 
 $as_echo "#define USE_DYNSIMD 1" >>confdefs.h
 
-		SIMD_CFLAGS="-O -msse -msse2 -m3dnow"
+		SIMD_CFLAGS=""
 
 fi