2014-08-11 13:27:10 +02:00

32 lines
877 B
Plaintext

$NetBSD: patch-ab,v 1.4 2013/10/27 20:29:44 joerg Exp $
--- configure.orig 2002-07-13 01:31:52.000000000 +0000
+++ configure
@@ -12063,8 +12063,6 @@ if test "X$GCC" = Xyes; then
MFX_CC="GCC"
if test "X$enable_debug" = Xyes; then
CFLAGS="$CFLAGS -O0"
- else
- CFLAGS="$CFLAGS -O2"
fi
CFLAGS="$CFLAGS -Wall -Wcast-align -Wcast-qual -Wwrite-strings"
case $MFX_CPU in
@@ -12072,17 +12070,10 @@ if test "X$GCC" = Xyes; then
MFX_ARCH="i386"
mfx_unaligned_ok_2="yes"
mfx_unaligned_ok_4="yes"
- CFLAGS="$CFLAGS -fno-strength-reduce"
;;
*)
- if test "X$mfx_cv_prog_gcc_bug_strength_reduce" = Xyes; then
- CFLAGS="$CFLAGS -fno-strength-reduce"
- fi
;;
esac
- if test "X$mfx_cv_prog_gcc_bug_schedule_insns" = Xyes; then
- CFLAGS="$CFLAGS -fno-schedule-insns -fno-schedule-insns2"
- fi
fi