Commit 4656daa6 authored by tim@cane.mysql.fi's avatar tim@cane.mysql.fi

Pass arguements to the build script on to configure.

parent 27bb0863
cflags="$c_warnings $extra_flags" cflags="$c_warnings $extra_flags"
cxxflags="$cxx_warnings $base_cxxflags $extra_flags" cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
configure="./configure $base_configs $extra_configs" configure="./configure $base_configs $extra_configs"
for arg in "$@"; do
configure="$configure "`echo "$arg" | sed -e 's,\([^a-zA-Z0-9_.-]\),\\\\\1,g'`
done
CFLAGS="$cflags" CXX=gcc CXXFLAGS="$cxxflags" eval "$configure" CFLAGS="$cflags" CXX=gcc CXXFLAGS="$cxxflags" eval "$configure"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment