mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
Pass arguements to the build script on to configure.
This commit is contained in:
parent
27bb086348
commit
4656daa6e4
1 changed files with 4 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
cflags="$c_warnings $extra_flags"
|
||||
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
||||
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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue