summaryrefslogtreecommitdiff
path: root/multimedia/libmpeg2/patches/patch-aa
blob: a5993210dca87f85e2020e4ba85649e2dca52b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.6 2008/08/07 18:23:18 drochner Exp $

--- configure.orig	2008-07-18 16:41:54.000000000 +0200
+++ configure
@@ -4672,7 +4672,7 @@ echo "${ECHO_T}$ac_cv_try_cflags_ok" >&6
 
     TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
 
-    TRY_CFLAGS="$TRY_CFLAGS -O3"
+    TRY_CFLAGS="$OPT_CFLAGS $CFLAGS"
     { echo "$as_me:$LINENO: checking if $CC supports $TRY_CFLAGS flags" >&5
 echo $ECHO_N "checking if $CC supports $TRY_CFLAGS flags... $ECHO_C" >&6; }
     SAVE_CFLAGS="$CFLAGS"