aboutsummaryrefslogtreecommitdiff
path: root/mail/libvmime/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libvmime/files/patch-configure')
-rw-r--r--mail/libvmime/files/patch-configure59
1 files changed, 59 insertions, 0 deletions
diff --git a/mail/libvmime/files/patch-configure b/mail/libvmime/files/patch-configure
new file mode 100644
index 000000000000..44ccd5bc6a3d
--- /dev/null
+++ b/mail/libvmime/files/patch-configure
@@ -0,0 +1,59 @@
+--- configure.orig 2006-12-20 11:27:52.000000000 -0800
++++ configure 2008-02-17 15:53:22.664811475 -0800
+@@ -3455,13 +3455,13 @@
+ CFLAGS=$ac_save_CFLAGS
+ elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+- CFLAGS="-g -O2"
++ CFLAGS="-g"
+ else
+ CFLAGS="-g"
+ fi
+ else
+ if test "$GCC" = yes; then
+- CFLAGS="-O2"
++ CFLAGS=""
+ else
+ CFLAGS=
+ fi
+@@ -4108,13 +4108,13 @@
+ CXXFLAGS=$ac_save_CXXFLAGS
+ elif test $ac_cv_prog_cxx_g = yes; then
+ if test "$GXX" = yes; then
+- CXXFLAGS="-g -O2"
++ CXXFLAGS="-g"
+ else
+ CXXFLAGS="-g"
+ fi
+ else
+ if test "$GXX" = yes; then
+- CXXFLAGS="-O2"
++ CXXFLAGS=""
+ else
+ CXXFLAGS=
+ fi
+@@ -7107,13 +7107,13 @@
+ FFLAGS=$ac_save_FFLAGS
+ elif test $ac_cv_prog_f77_g = yes; then
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+- FFLAGS="-g -O2"
++ FFLAGS="-g"
+ else
+ FFLAGS="-g"
+ fi
+ else
+ if test "x$ac_cv_f77_compiler_gnu" = xyes; then
+- FFLAGS="-O2"
++ FFLAGS=""
+ else
+ FFLAGS=
+ fi
+@@ -24916,7 +24916,7 @@
+ else
+ # -O2
+ OLD_CXXFLAGS="$CXXFLAGS"
+- CXXFLAGS="$CXXFLAGS -O2"
++ CXXFLAGS="$CXXFLAGS"
+ { echo "$as_me:$LINENO: checking whether cc accepts -O2" >&5
+ echo $ECHO_N "checking whether cc accepts -O2... $ECHO_C" >&6; }
+ cat >conftest.$ac_ext <<_ACEOF