diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-07-07 13:19:24 +0200 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-07-07 13:19:24 +0200 |
commit | 51f3e0049f3d79150e69141679fc9acabc0facfe (patch) | |
tree | 668465c9c6d6cbb245db5c9c5adda3c2e619e204 /BUILD/compile-solaris-x86-32 | |
parent | 9db357e2bfebf9207a507c4a2244499899a960a2 (diff) | |
download | mariadb-git-51f3e0049f3d79150e69141679fc9acabc0facfe.tar.gz |
Solaris 10 build script fixes by Toby Thain.
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.
Diffstat (limited to 'BUILD/compile-solaris-x86-32')
-rw-r--r-- | BUILD/compile-solaris-x86-32 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/BUILD/compile-solaris-x86-32 b/BUILD/compile-solaris-x86-32 new file mode 100644 index 00000000000..29965524479 --- /dev/null +++ b/BUILD/compile-solaris-x86-32 @@ -0,0 +1,11 @@ +#!/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" |