making rpl000001 working
BUILD/compile-pentium-debug: static linking
This commit is contained in:
parent
0d835dc3e5
commit
c9ba7c5f21
@ -1,5 +1,6 @@
|
|||||||
cflags="$c_warnings $extra_flags"
|
cflags="$c_warnings $extra_flags"
|
||||||
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
||||||
|
extra_configs="$extra_configs $local_infile_configs"
|
||||||
configure="./configure $base_configs $extra_configs"
|
configure="./configure $base_configs $extra_configs"
|
||||||
for arg
|
for arg
|
||||||
do
|
do
|
||||||
|
@ -57,6 +57,10 @@ static_link="--with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static
|
|||||||
alpha_configs="" # Not used yet
|
alpha_configs="" # Not used yet
|
||||||
pentium_configs=""
|
pentium_configs=""
|
||||||
sparc_configs=""
|
sparc_configs=""
|
||||||
|
# we need local-infile in all binaries for rpl000001
|
||||||
|
# if you need to disable local-infile in the client, write a build script
|
||||||
|
# and unset local_infile_configs
|
||||||
|
local_infile_configs="--enable-local-infile"
|
||||||
|
|
||||||
debug_configs="--with-debug"
|
debug_configs="--with-debug"
|
||||||
|
|
||||||
|
@ -8,6 +8,6 @@ c_warnings="$c_warnings $debug_extra_warnings"
|
|||||||
cxx_warnings="$cxx_warnings $debug_extra_warnings"
|
cxx_warnings="$cxx_warnings $debug_extra_warnings"
|
||||||
extra_configs="$pentium_configs $debug_configs"
|
extra_configs="$pentium_configs $debug_configs"
|
||||||
|
|
||||||
extra_configs="$extra_configs "
|
extra_configs="$extra_configs $static_link"
|
||||||
|
|
||||||
. "$path/FINISH.sh"
|
. "$path/FINISH.sh"
|
||||||
|
@ -587,7 +587,10 @@ AC_SUBST(MYSQLD_USER)
|
|||||||
AC_ARG_ENABLE(local-infile,
|
AC_ARG_ENABLE(local-infile,
|
||||||
[ --enable-local-infile
|
[ --enable-local-infile
|
||||||
If LOAD DATA LOCAL INFILE is enabled by default.],
|
If LOAD DATA LOCAL INFILE is enabled by default.],
|
||||||
[ ENABLED_LOCAL_INFILE=$enablewal ],
|
[
|
||||||
|
ENABLED_LOCAL_INFILE=$enablewal
|
||||||
|
AC_DEFINE(ENABLED_LOCAL_INFILE)
|
||||||
|
],
|
||||||
[ ENABLED_LOCAL_INFILE=no ]
|
[ ENABLED_LOCAL_INFILE=no ]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user