diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2007-07-11 08:18:03 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2007-07-11 08:18:03 +0000 |
commit | 3f47a63e44233b7ab5a8f7283d72eb81e720e400 (patch) | |
tree | a6f683a8e2b9acc15a869698a8da1f97d70a2f89 /eclass | |
parent | Use --logfile, bug 181243. (diff) | |
download | gentoo-2-3f47a63e44233b7ab5a8f7283d72eb81e720e400.tar.gz gentoo-2-3f47a63e44233b7ab5a8f7283d72eb81e720e400.tar.bz2 gentoo-2-3f47a63e44233b7ab5a8f7283d72eb81e720e400.zip |
Bug #88360, static builds need to have PIC some pick stuff for when dynamic files are built against them.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index 73f58125b2e3..c72dd59c3cd0 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.79 2007/07/02 14:24:27 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.80 2007/07/11 08:18:03 robbat2 Exp $ # Author: Francesco Riosa (Retired) <vivo@gentoo.org> # Maintainer: Luca Longinotti <chtekk@gentoo.org> @@ -250,7 +250,7 @@ configure_minimal() { if use static ; then myconf="${myconf} --with-client-ldflags=-all-static" - myconf="${myconf} --disable-shared" + myconf="${myconf} --disable-shared --with-pic" else myconf="${myconf} --enable-shared --enable-static" fi @@ -276,7 +276,7 @@ configure_common() { if use static ; then myconf="${myconf} --with-mysqld-ldflags=-all-static" myconf="${myconf} --with-client-ldflags=-all-static" - myconf="${myconf} --disable-shared" + myconf="${myconf} --disable-shared --with-pic" else myconf="${myconf} --enable-shared --enable-static" fi |