~gl-az/percona-xtrabackup/2.0-valgrind

« back to all changes in this revision

Viewing changes to utils/build-binary.sh

  • Committer: Alexey Kopytov
  • Date: 2013-04-25 08:20:34 UTC
  • mfrom: (532.2.1 2.0-bug1171721)
  • Revision ID: akopytov@gmail.com-20130425082034-vevgjwapzsne9egc
Manual merge of lp:~ignacio-nin/percona-xtrabackup/2.0-bug1171721.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
# Compilation flags
87
87
export CC=${CC:-gcc}
88
88
export CXX=${CXX:-g++}
89
 
export CFLAGS="-fPIC -Wall -O3 -g -static-libgcc -fno-omit-frame-pointer ${CFLAGS:-}"
90
 
export CXXFLAGS="-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions ${CXXFLAGS:-}"
 
89
export CFLAGS="-fPIC -Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -DXTRABACKUP_REVISION=\\\"$REVISION\\\" ${CFLAGS:-}"
 
90
export CXXFLAGS="-O2 -fno-omit-frame-pointer -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fno-exceptions -DXTRABACKUP_REVISION=\\\"$REVISION\\\" ${CXXFLAGS:-}"
91
91
export MAKE_JFLAG=-j4
92
92
 
93
93
# Create a temporary working directory