diff options
author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2008-01-21 12:04:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2008-01-21 12:04:18 +0000 |
commit | 6dd50d1fe462f2237bf7f8f34926514b03d2eea1 (patch) | |
tree | a8b7eaa09e8a5f597b84461cd2073e8d5b918db8 /devel/libev/files/patch-configure | |
parent | Network Security Monitoring Console is a framework for performing (diff) |
* Update to 2.01
* Respect -O flags in CFLAGS
Reported by: pav
Notes
Notes:
svn path=/head/; revision=205975
Diffstat (limited to 'devel/libev/files/patch-configure')
-rw-r--r-- | devel/libev/files/patch-configure | 50 |
1 files changed, 50 insertions, 0 deletions
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 + + + |