Commit 1f696801 authored by unknown's avatar unknown

This fixes support for building mysql on Solaris with GNU tools.


BUILD/check-cpu:
  Simple Solaris support
BUILD/compile-solaris-sparc:
  Cleanup of Solars support
BUILD/compile-solaris-sparc-debug:
  Cleanup of solaris support
parent a822d651
...@@ -113,6 +113,10 @@ case "$cpu_family--$model_name" in ...@@ -113,6 +113,10 @@ case "$cpu_family--$model_name" in
cpu_arg='powerpc' cpu_arg='powerpc'
;; ;;
*SunOS*)
cpu_arg=''
;;
# unknown # unknown
*) *)
cpu_arg=""; cpu_arg="";
......
#! /bin/sh #!/usr/bin/bash
gmake -k clean || true
/bin/rm -f */.deps/*.P config.cache
path=`dirname $0` path=`dirname $0`
. "$path/autorun.sh" . "$path/SETUP.sh"
extra_flags=""
CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client extra_configs="$max_configs"
gmake -j 4 . "$path/FINISH.sh"
#! /bin/sh #!/usr/bin/bash
gmake -k clean || true
/bin/rm -f */.deps/*.P config.cache
path=`dirname $0` path=`dirname $0`
. "$path/autorun.sh" . "$path/SETUP.sh"
extra_flags="$debug_cflags"
CFLAGS="-g -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXFLAGS="-Wimplicit -Wreturn-type -Wid-clash-51 -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -O3 -fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa -g" ./configure --prefix=/usr/local/mysql --enable-assembler --with-extra-charsets=complex --enable-thread-safe-client --with-debug extra_configs="$debug_configs $max_configs"
gmake -j 4 . "$path/FINISH.sh"
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