$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