Commit 6357bc75 authored by unknown's avatar unknown
Browse files

workaround for Sun Forte compile problem for ndb on solaris 2.10

parent 16b8b7db
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -967,12 +967,16 @@ esac
MAX_C_OPTIMIZE="-O3"
MAX_CXX_OPTIMIZE="-O3"

# workaround for Sun Forte/x86 see BUG#4681
case $SYSTEM_TYPE-$MACHINE_TYPE-$ac_cv_prog_gcc in
# workaround for Sun Forte/x86 see BUG#4681
  *solaris*-i?86-no)
    CFLAGS="$CFLAGS -DBIG_TABLES"
    CXXFLAGS="$CXXFLAGS -DBIG_TABLES"
    ;;
# workaround for Sun Forte compile problem for ndb
  *solaris2.10*-sparc-no)
    ndb_cxxflags_fix="$ndb_cxxflags_fix -instances=static"
    ;;
  *) ;;
esac