-CONFIGURE_VARS += \
- CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \
- CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \
- LDFLAGS="$$$$LDFLAGS" \
- LIBS="-nodefaultlibs -luClibc++ -lm $(LIBGCC_S)" \
- CLIENTCLIBS="-nodefaultlibs -luClibc++ -lm $(LIBGCC_S)" \
-
-
-define Build/Configure
- (cd $(PKG_BUILD_DIR); touch \
- configure.in \
- aclocal.m4 \
- Makefile.in \
- config.h.in \
- configure \
- );
-
- $(call Build/Configure/Default, \
- --enable-shared \
- --enable-static \
- --enable-thread-safe-client \
- --disable-assembler \
- --with-pthread \
- --with-server \
- --without-mysqlmanager \
- --without-raid \
- --with-mysqld-user=root \
- --with-unix-socket-path=/tmp \
- --without-libwrap \
- --without-pstack \
- --with-low-memory \
- --without-embedded-server \
- --without-query-cache \
- --without-mysqlfs \
- --without-vio \
- --without-openssl \
- --without-docs \
- --without-man \
- --without-bench \
- --without-readline \
- --without-debug \
- --with-named-thread-libs=-lpthread \
- , \
- mysql_cv_compress=yes \
- mysql_cv_gethostname_style=glibc2 \
- );
-endef