]> git.pld-linux.org Git - packages/ccrypt.git/commitdiff
- kill -O3
authorsparky <sparky@pld-linux.org>
Sat, 5 Aug 2006 12:44:38 +0000 (12:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ccrypt-kill-O3.patch -> 1.1

ccrypt-kill-O3.patch [new file with mode: 0644]

diff --git a/ccrypt-kill-O3.patch b/ccrypt-kill-O3.patch
new file mode 100644 (file)
index 0000000..39fc7f1
--- /dev/null
@@ -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
This page took 0.112976 seconds and 4 git commands to generate.