Skip to content

Commit

Permalink
change default config (in bootstrap.sh) to -O1 instead of -O0
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Dodd committed May 18, 2016
1 parent 7a771e2 commit bcfffd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ mkdir -p extensions # place where additional back-ends are expected
echo "Running autoconf/configure tools"
autoreconf -i
mkdir -p build # recommended folder for build
sourcedir=`pwd`
cd build
# TODO: the "prefix" is needed for finding the p4include folder.
# It should be an absolute path. This may need to change
# when we have a proper installation procedure.
../configure CXXFLAGS="-g -O0" --prefix=`pwd`/.. $*
../configure CXXFLAGS="-g -O1" --prefix=$sourcedir $*
echo "### Configured for building in 'build' folder"

0 comments on commit bcfffd3

Please sign in to comment.