summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-06-17 20:00:37 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-06-17 20:00:37 +0000
commit5191c28c20edddca153333e8879aa094a4a13248 (patch)
tree019610ff618d190425db20ce892368b9c1ddfcba /eclass/freebsd.eclass
parentFix build with libav9. Fixes bug#443244. (diff)
downloadhistorical-5191c28c20edddca153333e8879aa094a4a13248.tar.gz
historical-5191c28c20edddca153333e8879aa094a4a13248.tar.bz2
historical-5191c28c20edddca153333e8879aa094a4a13248.zip
freebsd_multilib_multibuild_wrapper: save and restore LDADD too.
Diffstat (limited to 'eclass/freebsd.eclass')
-rw-r--r--eclass/freebsd.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/freebsd.eclass b/eclass/freebsd.eclass
index 613c67aa2666..f3b6bc3b6b64 100644
--- a/eclass/freebsd.eclass
+++ b/eclass/freebsd.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.25 2013/06/17 17:31:30 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freebsd.eclass,v 1.26 2013/06/17 20:00:37 aballier Exp $
#
# Diego Pettenò <flameeyes@gentoo.org>
@@ -135,8 +135,8 @@ freebsd_multilib_multibuild_wrapper() {
# This assumes MULTILIB_VARIANTS contains only valid ABIs.
local ABI=${MULTIBUILD_VARIANT}
- # First, save the variables: CFLAGS, CXXFLAGS, LDFLAGS and mymakeopts.
- for i in CFLAGS CXXFLAGS LDFLAGS mymakeopts ; do
+ # First, save the variables: CFLAGS, CXXFLAGS, LDFLAGS, LDADD and mymakeopts.
+ for i in CFLAGS CXXFLAGS LDFLAGS LDADD mymakeopts ; do
export ${i}_SAVE="${!i}"
done
@@ -159,7 +159,7 @@ freebsd_multilib_multibuild_wrapper() {
CTARGET="${CHOST}" "$@"
# Restore the variables now.
- for i in CFLAGS CXXFLAGS LDFLAGS mymakeopts ; do
+ for i in CFLAGS CXXFLAGS LDFLAGS LDADD mymakeopts ; do
ii="${i}_SAVE"
export ${i}="${!ii}"
done