mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
51f3e0049f
Added build scripts for 32 bit x86 architecture on Solaris. Renamed some scripts for consistency. Changed to dynamic linking of libgcc. BUILD/compile-solaris-amd64: Changed to dynamic linking of libgcc. The -static-libgcc was a legacy of the original build scripts. -R (analogous to -L link time search path) is a Solaris mechanism to ensure a needed lib directory is searched at runtime. In Solaris 10, gcc comes bundled, under /usr/sfw, allowing to use it without creating dependency problems. This allows eg. benefiting from ordinary system patch maintenance. BUILD/compile-solaris-amd64-debug: Changed to dynamic linking of libgcc. The -static-libgcc was a legacy of the original build scripts. -R (analogous to -L link time search path) is a Solaris mechanism to ensure a needed lib directory is searched at runtime. In Solaris 10, gcc comes bundled, under /usr/sfw, allowing to use it without creating dependency problems. This allows eg. benefiting from ordinary system patch maintenance.
11 lines
193 B
Bash
11 lines
193 B
Bash
#!/bin/sh
|
|
|
|
path=`dirname $0`
|
|
. "$path/SETUP.sh"
|
|
extra_flags="-D__sun -m32"
|
|
extra_configs="$max_configs --with-libevent"
|
|
|
|
LDFLAGS="-lmtmalloc -R/usr/sfw/lib"
|
|
export LDFLAGS
|
|
|
|
. "$path/FINISH.sh"
|