Browse Source

ndb - fix for BUG#23137, ha_ndbcluster.m4 bug.

Because NDB_CXXFLAGS is just used in ndb engine, moved NDB_CXXFLAGS from ha_ndbcluster.m4 to ndb/config/common.mk.am.


config/ac-macros/ha_ndbcluster.m4:
  removed NDB_CXXFLAGS.
storage/ndb/config/common.mk.am:
  Added NDB_CXXFLAGS to AM_CXXFLAGS.
pull/374/head
unknown 19 years ago
parent
commit
2b76ee2435
  1. 1
      config/ac-macros/ha_ndbcluster.m4
  2. 2
      storage/ndb/config/common.mk.am

1
config/ac-macros/ha_ndbcluster.m4

@ -197,7 +197,6 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
MAKE_BINARY_DISTRIBUTION_OPTIONS="$MAKE_BINARY_DISTRIBUTION_OPTIONS --with-ndbcluster"
CXXFLAGS="$CXXFLAGS \$(NDB_CXXFLAGS)"
if test "$have_ndb_debug" = "default"
then
have_ndb_debug=$with_debug

2
storage/ndb/config/common.mk.am

@ -10,3 +10,5 @@ INCLUDES = $(INCLUDES_LOC)
LDADD = $(LDADD_LOC)
DEFS = @DEFS@ @NDB_DEFS@ $(DEFS_LOC) $(NDB_EXTRA_FLAGS)
NDB_CXXFLAGS=@ndb_cxxflags_fix@ $(NDB_CXXFLAGS_LOC)
NDB_AM_CXXFLAGS:= $(AM_CXXFLAGS)
AM_CXXFLAGS=$(NDB_AM_CXXFLAGS) $(NDB_CXXFLAGS)
Loading…
Cancel
Save