summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-05-03 13:25:56 -0400
committerMike Gilbert <floppym@gentoo.org>2020-05-03 13:25:56 -0400
commitd797a28c901c6262835b3a1d29ad8e192e9c1ecd (patch)
tree889f3ef8ae3d439a13f79f78cd2b7a15fd09d107
parentdev-perl/Perl-Strip: Remove IUSE="test" (diff)
downloadgentoo-d797a28c.tar.gz
gentoo-d797a28c.tar.bz2
gentoo-d797a28c.zip
meson.eclass: use export -n instead of unset
This ensures the variables are still availble if the configure function is called more than once, as would happen for a multilib build. Bug: https://bugs.gentoo.org/720818 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
-rw-r--r--eclass/meson.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 4367156b6198..17875d97c47b 100644
--- a/eclass/meson.eclass
+++ b/eclass/meson.eclass
@@ -346,7 +346,7 @@ meson_src_configure() {
python_export_utf8_locale
# https://bugs.gentoo.org/720818
- unset {C,CPP,CXX,F,FC,OBJC,OBJCXX,LD}FLAGS
+ export -n {C,CPP,CXX,F,FC,OBJC,OBJCXX,LD}FLAGS
echo "${mesonargs[@]}" >&2
"${mesonargs[@]}" || die