Commit 3234eb56 authored by unknown's avatar unknown

added configure option to set extra ndb cc-flags

parent ff99f592
...@@ -61,6 +61,11 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [ ...@@ -61,6 +61,11 @@ AC_DEFUN([MYSQL_CHECK_NDB_OPTIONS], [
--without-ndb-debug Disable special ndb debug features], --without-ndb-debug Disable special ndb debug features],
[ndb_debug="$withval"], [ndb_debug="$withval"],
[ndb_debug="default"]) [ndb_debug="default"])
AC_ARG_WITH([ndb-ccflags],
[
--with-ndb-ccflags Extra CC options for ndb compile],
[ndb_cxxflags_fix=$withval],
[ndb_cxxflags_fix=])
AC_MSG_CHECKING([for NDB Cluster options]) AC_MSG_CHECKING([for NDB Cluster options])
AC_MSG_RESULT([]) AC_MSG_RESULT([])
......
...@@ -361,7 +361,6 @@ AC_SUBST(INSTALL_SCRIPT) ...@@ -361,7 +361,6 @@ AC_SUBST(INSTALL_SCRIPT)
export CC CXX CFLAGS LD LDFLAGS AR export CC CXX CFLAGS LD LDFLAGS AR
ndb_cxxflags_fix=
if test "$GXX" = "yes" if test "$GXX" = "yes"
then then
# mysqld requires -fno-implicit-templates. # mysqld requires -fno-implicit-templates.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment