From b087566554944638c1cb11a59ab2e6cc061de56d Mon Sep 17 00:00:00 2001 From: sparky Date: Sat, 5 Aug 2006 12:44:38 +0000 Subject: [PATCH] - kill -O3 Changed files: ccrypt-kill-O3.patch -> 1.1 --- ccrypt-kill-O3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ccrypt-kill-O3.patch diff --git a/ccrypt-kill-O3.patch b/ccrypt-kill-O3.patch new file mode 100644 index 0000000..39fc7f1 --- /dev/null +++ b/ccrypt-kill-O3.patch @@ -0,0 +1,22 @@ +diff -Nur ccrypt-1.7.orig/configure.in ccrypt-1.7.kill-O3/configure.in +--- ccrypt-1.7.orig/configure.in 2004-03-29 06:52:12.000000000 +0200 ++++ ccrypt-1.7.kill-O3/configure.in 2006-08-05 14:41:22.000000000 +0200 +@@ -46,16 +46,11 @@ + dnl Check for programs. + AC_PROG_CC + +-dnl Note: CFLAGS can now be specified by the user at ./configure time, +-dnl but we enforce -O3, as this really makes a big difference in terms +-dnl of performance for ccrypt. (74% faster than -O0, 19% faster than +-dnl -O2). The space/time tradeoff is biased in favor of time for ccrypt. +- + if test "$GCC" = "yes"; then + if test "$iCFLAGS" = ""; then +- CFLAGS="-O3 -Wall" ++ CFLAGS="-Wall" + else +- CFLAGS="$iCFLAGS -O3" ++ CFLAGS="$iCFLAGS" + fi + fi + -- 2.44.0