]> git.pld-linux.org Git - packages/mysql.git/blob - mysql-opt.patch
- release 2
[packages/mysql.git] / mysql-opt.patch
1 --- mysql-3.23.32/configure.in.orig     Sat Feb 10 02:57:16 2001
2 +++ mysql-3.23.32/configure.in  Sat Feb 10 03:21:04 2001
3 @@ -1094,17 +1094,17 @@
4  if test "$with_debug" = "yes"
5  then
6    # Medium debug.
7 -  CFLAGS="$DEBUG_CFLAGS $DEBUG_OPTIMIZE_CC -DDBUG_ON -DSAFE_MUTEX $CFLAGS"
8 -  CXXFLAGS="$DEBUG_CXXFLAGS $DEBUG_OPTIMIZE_CXX -DSAFE_MUTEX $CXXFLAGS"
9 +  CFLAGS="-DDBUG_ON -DSAFE_MUTEX $CFLAGS"
10 +  CXXFLAGS="-DSAFE_MUTEX $CXXFLAGS"
11  elif test "$with_debug" = "full"
12  then
13    # Full debug. Very slow in some cases
14 -  CFLAGS="$DEBUG_CFLAGS -DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CFLAGS"
15 -  CXXFLAGS="$DEBUG_CXXFLAGS -DSAFE_MUTEX -DSAFEMALLOC $CXXFLAGS"
16 +  CFLAGS="-DDBUG_ON -DSAFE_MUTEX -DSAFEMALLOC $CFLAGS"
17 +  CXXFLAGS="-DSAFE_MUTEX -DSAFEMALLOC $CXXFLAGS"
18  else
19    # Optimized version. No debug
20 -  CFLAGS="$OPTIMIZE_CFLAGS -DDBUG_OFF $CFLAGS"
21 -  CXXFLAGS="$OPTIMIZE_CXXFLAGS -DDBUG_OFF $CXXFLAGS"
22 +  CFLAGS="-DDBUG_OFF $CFLAGS"
23 +  CXXFLAGS="-DDBUG_OFF $CXXFLAGS"
24  fi
25  
26  # Force static compilation to avoid linking probles/get more speed
This page took 0.03505 seconds and 3 git commands to generate.