mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
818af46d6c
build scripts work again.
26 lines
868 B
Bash
Executable file
26 lines
868 B
Bash
Executable file
#! /bin/sh
|
|
|
|
set -e -x
|
|
|
|
# Only use the "--with-other-libc" parameter, if another libc actually
|
|
# exists, since this will also force static linking, which does not work
|
|
# together with OpenSSL
|
|
OTHER_LIBC_DIR=/usr/local/mysql-glibc
|
|
OTHER_LIBC=""
|
|
if [ -d OTHER_LIBC_DIR ] ; then
|
|
OTHER_LIBC="--with-other-libc=$OTHER_LIBC_DIR"
|
|
fi
|
|
|
|
BUILD/compile-pentium-max $OTHER_LIBC \
|
|
--with-comment="Official MySQL Binary" \
|
|
--prefix=/usr/local/mysql --with-extra-charset=complex \
|
|
--enable-thread-safe-client --enable-local-infile \
|
|
--with-server-suffix=-max
|
|
scripts/make_binary_distribution
|
|
make dist
|
|
Build-tools/Do-rpm --local
|
|
BUILD/compile-pentium --with-other-libc=$OTHER_LIBC_DIR \
|
|
--with-comment="Official MySQL Binary" \
|
|
--prefix=/usr/local/mysql --with-extra-charset=complex \
|
|
--enable-thread-safe-client --enable-local-infile
|
|
scripts/make_binary_distribution
|