summaryrefslogtreecommitdiff
path: root/BUILD/compile-dist
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD/compile-dist')
-rwxr-xr-xBUILD/compile-dist16
1 files changed, 7 insertions, 9 deletions
diff --git a/BUILD/compile-dist b/BUILD/compile-dist
index 969aac38930..becfea638f8 100755
--- a/BUILD/compile-dist
+++ b/BUILD/compile-dist
@@ -1,17 +1,16 @@
#!/bin/sh
-
-# Copyright (c) 2004-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
+# Copyright (c) 2004-2008 MySQL AB, 2008, 2009 Sun Microsystems, Inc.
# Use is subject to license terms.
-#
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
@@ -45,7 +44,7 @@ fi
# Default to gcc for CC and CXX
if test -z "$CXX" ; then
export CXX
- CXX=gcc
+ CXX=g++
# Set some required compile options
if test -z "$CXXFLAGS" ; then
export CXXFLAGS
@@ -79,6 +78,5 @@ fi
./configure \
--with-embedded-server \
--with-perfschema \
- --with-ndbcluster
-$gmake
-
+ --with-plugins=max-no-ndb
+$gmake -j4