mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
7e1edb01db
overrun sentry in my_vsnprintf() test will not be pushed yet BUILD/FINISH.sh: load local fix BUILD/SETUP.sh: load local fix BUILD/compile-pentium-debug-max: load local fix configure.in: load local fix mysys/my_vsnprintf.c: added overrun sentry to the test
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
cflags="$c_warnings $extra_flags"
|
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
|
extra_configs="$extra_configs $local_infile_configs"
|
|
configure="./configure $base_configs $extra_configs"
|
|
for arg
|
|
do
|
|
# Escape special characters so they don't confuse eval
|
|
configure="$configure "`echo "$arg" | \
|
|
sed -e 's,\([^a-zA-Z0-9_.=-]\),\\\\\1,g'`
|
|
done
|
|
|
|
commands="\
|
|
$make -k clean || true
|
|
/bin/rm -f */.deps/*.P config.cache innobase/config.cache bdb/build_unix/config.cache
|
|
|
|
aclocal && autoheader && aclocal && automake && autoconf
|
|
(cd bdb/dist && sh s_all)
|
|
(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
|
|
if [ -d gemini ]
|
|
then
|
|
(cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
|
|
fi
|
|
|
|
CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" \
|
|
$configure"
|
|
|
|
if [ -z "$just_configure" ]
|
|
then
|
|
commands="$commands
|
|
|
|
$make $AM_MAKEFLAGS"
|
|
|
|
if [ "x$strip" = "xyes" ]
|
|
then
|
|
commands="$commands
|
|
|
|
mkdir -p tmp
|
|
nm --numeric-sort sql/mysqld > tmp/mysqld.sym
|
|
objdump -d sql/mysqld > tmp/mysqld.S
|
|
strip sql/mysqld"
|
|
fi
|
|
fi
|
|
|
|
if test -z "$nonono"
|
|
then
|
|
eval "set -x; $commands"
|
|
else
|
|
echo "$commands"
|
|
fi
|