Pass arguements to the build script on to configure.
This commit is contained in:
parent
27bb086348
commit
4656daa6e4
@ -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…
x
Reference in New Issue
Block a user