Neue Optionen, die die embedded mysqld lib generieren
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5129 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
1359db4152
commit
252fc594d9
@ -79,8 +79,8 @@ premk() {
|
||||
}
|
||||
|
||||
mk32() {
|
||||
CC="gcc $BUILDOPTIONS32" \
|
||||
CXX="g++ $BUILDOPTIONS32" \
|
||||
CC="gcc $BUILDOPTIONS32 -fPIC" \
|
||||
CXX="g++ $BUILDOPTIONS32 -fPIC" \
|
||||
USE_ARCH=$UARCH \
|
||||
./configure --target=$TARGET32 \
|
||||
--sysconfdir=/etc \
|
||||
@ -91,21 +91,23 @@ mk32() {
|
||||
--with-server-suffix=CompuExtreme \
|
||||
--with-pthread \
|
||||
--with-mysqld-user=mysql \
|
||||
--with-ssl &&
|
||||
--with-ssl \
|
||||
--with-embedded-server &&
|
||||
make -j $NUMCPU &&
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||
CheckError "Make install process failed !" 1
|
||||
make distclean
|
||||
ClearHostSysNameing32 $TMPROOT
|
||||
mv $TMPROOT/opt/MySQL/bin/mysql_config{,-32}
|
||||
GenDynLib32 $TMPROOT/opt/MySQL/lib/mysql/libmysqld.a 16.0.0
|
||||
}
|
||||
|
||||
mk() {
|
||||
if [ "$MK64BIT" == "true" ]; then
|
||||
ADDOPTIONS="--libdir=\${prefix}/lib64"
|
||||
fi
|
||||
CC="gcc $BUILDOPTIONS" \
|
||||
CXX="g++ $BUILDOPTIONS" \
|
||||
CC="gcc $BUILDOPTIONS -fPIC" \
|
||||
CXX="g++ $BUILDOPTIONS -fPIC" \
|
||||
USE_ARCH=$UARCH \
|
||||
./configure --target=$TARGET \
|
||||
--sysconfdir=/etc \
|
||||
@ -117,10 +119,12 @@ mk() {
|
||||
--with-server-suffix=CompuExtreme \
|
||||
--with-pthread \
|
||||
--with-mysqld-user=mysql \
|
||||
--with-ssl &&
|
||||
--with-ssl \
|
||||
--with-embedded-server &&
|
||||
make -j $NUMCPU &&
|
||||
make -j $NUMCPU DESTDIR=$TMPROOT install &&
|
||||
CheckError "Make install process failed !" 1
|
||||
GenDynLib $TMPROOT/opt/MySQL/$LIBDIR/mysql/libmysqld.a 16.0.0
|
||||
}
|
||||
|
||||
postmk() {
|
||||
|
Loading…
Reference in New Issue
Block a user