From 6dd50d1fe462f2237bf7f8f34926514b03d2eea1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 21 Jan 2008 12:04:18 +0000 Subject: * Update to 2.01 * Respect -O flags in CFLAGS Reported by: pav --- devel/libev/files/patch-configure | 50 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 devel/libev/files/patch-configure (limited to 'devel/libev/files/patch-configure') diff --git a/devel/libev/files/patch-configure b/devel/libev/files/patch-configure new file mode 100644 index 000000000000..947059bd02a9 --- /dev/null +++ b/devel/libev/files/patch-configure @@ -0,0 +1,50 @@ +--- configure.orig 2008-01-21 14:41:04.171283374 +0300 ++++ configure 2008-01-21 14:42:41.856789774 +0300 +@@ -3458,18 +3458,6 @@ + echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +-elif test $ac_cv_prog_cc_g = yes; then +- if test "$GCC" = yes; then +- CFLAGS="-g -O2" +- else +- CFLAGS="-g" +- fi +-else +- if test "$GCC" = yes; then +- CFLAGS="-O2" +- else +- CFLAGS= +- fi + fi + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 + echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +@@ -5473,18 +5461,6 @@ + echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +-elif test $ac_cv_prog_cxx_g = yes; then +- if test "$GXX" = yes; then +- CXXFLAGS="-g -O2" +- else +- CXXFLAGS="-g" +- fi +-else +- if test "$GXX" = yes; then +- CXXFLAGS="-O2" +- else +- CXXFLAGS= +- fi + fi + ac_ext=cpp + ac_cpp='$CXXCPP $CPPFLAGS' +@@ -19140,9 +19116,6 @@ + + + +-if test "x$GCC" = xyes ; then +- CFLAGS="$CFLAGS -O3" +-fi + + + -- cgit v1.2.3